1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Add staging support

- Convert to USES=tar:bzip2
This commit is contained in:
Pawel Pekala 2014-04-13 10:13:43 +00:00
parent dec1331abc
commit 5c91695de8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351197

View File

@ -11,22 +11,20 @@ DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Wolfenstein 3D levels ported to Doom II
USE_BZIP2= yes
USES= tar:bzip2
NO_BUILD= yes
NO_WRKSUBDIR= yes
DATADIR= ${DMDIR}/${PORTNAME}
NO_STAGE= yes
.include "${.CURDIR}/../doom-data/Makefile.include"
.include <bsd.port.pre.mk>
do-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKDIR}/${PORTNAME}
${FIND} ${WRKDIR}/${PORTNAME} ! -type d -exec ${CHMOD} 0644 {} \;
${FIND} ${WRKDIR}/${PORTNAME} -type d -exec ${CHMOD} 0755 {} \;
${MKDIR} ${DATADIR}
${TAR} -cf - -C ${WRKDIR}/${PORTNAME} . | ${TAR} -xpvf - -C ${DATADIR}
@${MKDIR} ${STAGEDIR}${DATADIR}
${TAR} -cf - -C ${WRKDIR}/${PORTNAME} . | ${TAR} -xpvf - -C ${STAGEDIR}${DATADIR}
.include <bsd.port.post.mk>