1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- 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%%