summaryrefslogblamecommitdiff
path: root/games/primateplunge/Makefile
blob: cae0a0f62d5c02e5e9d094b92d48808a6c0830dc (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                           
                 
                     
                                                    
 
                               



                                                   

                         














                                                                                                                          
# New ports collection makefile for:	primateplunge
# Date created:		2006-02-01
# Whom:			Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
#
# $FreeBSD$
#

PORTNAME=	primateplunge
PORTVERSION=	1.1
PORTREVISION=	4
CATEGORIES=	games
MASTER_SITES=	http://www.aelius.com/primateplunge/

MAINTAINER=	acm@FreeBSD.org
COMMENT=	Primate Plunge is an arcade game

RUN_DEPENDS=	timidity:${PORTSDIR}/audio/timidity

GNU_CONFIGURE=	yes
USE_SDL=	sdl mixer
PRIMATEDIR=	sounds graphics

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/src/primateplunge ${PREFIX}/bin/primateplunge
	@cd ${WRKSRC} && \
		${FIND}	${PRIMATEDIR} -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
		${FIND} -E ${PRIMATEDIR} -type f -iregex ".*\.(bmp|wav|mid)" -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/AUTHORS ${WRKSRC}/TIPS ${DOCSDIR}
.endif

.include <bsd.port.mk>