- Add staging support
- Convert to USES=tar:bzip2
This commit is contained in:
parent
dec1331abc
commit
5c91695de8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351197
1 changed files with 3 additions and 5 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue