mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
b6b4a544cd
Approved by: garga (mentor)
37 lines
1011 B
Makefile
37 lines
1011 B
Makefile
# 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
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.ecs.soton.ac.uk/~njh/primateplunge/
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Primate Plunge is an arcade game
|
|
|
|
RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity
|
|
|
|
USE_X_PREFIX= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_SDL= sdl mixer
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
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>
|