Changeset View
Changeset View
Standalone View
Standalone View
games/quake-dpmod/Makefile
Show All 16 Lines | |||||
USES= zip | USES= zip | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
NO_WRKSUBDIR= yes | NO_WRKSUBDIR= yes | ||||
DATADIR= ${Q1DIR}/${PORTNAME} | DATADIR= ${Q1DIR}/${PORTNAME} | ||||
post-extract: | post-extract: | ||||
# Remove CVS directories | # Remove CVS directories | ||||
@${FIND} ${WRKDIR} -type d -name CVS -print0 | ${XARGS} -0 ${RM} -rf | @${FIND} ${WRKSRC} -type d -name CVS -print0 | ${XARGS} -0 ${RM} -rf | ||||
# Fix permissions | # Fix permissions | ||||
@${CHMOD} go-w ${WRKDIR}/dpmod/progs.dat | @${CHMOD} go-w ${WRKSRC}/dpmod/progs.dat | ||||
do-install: | do-install: | ||||
@${MKDIR} ${STAGEDIR}${DATADIR} | @${MKDIR} ${STAGEDIR}${DATADIR} | ||||
${CP} -a ${WRKSRC}/dpmod/* ${STAGEDIR}${DATADIR} | ${CP} -a ${WRKSRC}/dpmod/* ${STAGEDIR}${DATADIR} | ||||
.include "${.CURDIR}/../quake-data/Makefile.include" | .include "${.CURDIR}/../quake-data/Makefile.include" | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |