- Simplify installation

- Drop @dirrm* from plist
This commit is contained in:
Dmitry Marakasov 2014-10-31 14:44:40 +00:00
parent 6e370a2167
commit 86af319cc5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371837
2 changed files with 1 additions and 14 deletions

View file

@ -22,15 +22,6 @@ SUB_FILES= ${PORTNAME}-sh
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_PROGRAM} ${WRKSRC}/../sword ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
.for f in agreement.txt data gfx sfx
@${MKDIR} ${STAGEDIR}${DATADIR}
${CP} -R ${WRKSRC}/../${f} ${STAGEDIR}${DATADIR}
.endfor
post-install:
@${FIND} ${STAGEDIR}${DATADIR} -type f -print0 | \
${XARGS} -0 ${CHMOD} ${SHAREMODE}
@${FIND} ${STAGEDIR}${DATADIR} -type d -print0 | \
${XARGS} -0 ${CHMOD} ${BINMODE}
cd ${WRKSRC}/.. && ${COPYTREE_SHARE} "agreement.txt data gfx sfx" ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>

View file

@ -48,7 +48,3 @@ libexec/fargoal
%%DATADIR%%/sfx/ugh.wav
%%DATADIR%%/sfx/up.wav
%%DATADIR%%/sfx/victory.wav
@dirrm %%DATADIR%%/sfx
@dirrm %%DATADIR%%/gfx
@dirrm %%DATADIR%%/data
@dirrm %%DATADIR%%