aboutsummaryrefslogtreecommitdiff
path: root/games/fargoal
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-10-31 14:44:40 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-10-31 14:44:40 +0000
commit86af319cc5d73086eeff0ae4bae1d52435d54bc6 (patch)
tree7996c8a7b9f2ef996a980cecc48b30877749c7be /games/fargoal
parent6e370a2167ec9ffc2e11b3ed49eac1434efd35d1 (diff)
downloadports-86af319cc5d73086eeff0ae4bae1d52435d54bc6.tar.gz
ports-86af319cc5d73086eeff0ae4bae1d52435d54bc6.zip
Notes
Diffstat (limited to 'games/fargoal')
-rw-r--r--games/fargoal/Makefile11
-rw-r--r--games/fargoal/pkg-plist4
2 files changed, 1 insertions, 14 deletions
diff --git a/games/fargoal/Makefile b/games/fargoal/Makefile
index dc7d3a84718b..77b1a24ab7b6 100644
--- a/games/fargoal/Makefile
+++ b/games/fargoal/Makefile
@@ -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>
diff --git a/games/fargoal/pkg-plist b/games/fargoal/pkg-plist
index 494f9d121740..3ad1ea35c740 100644
--- a/games/fargoal/pkg-plist
+++ b/games/fargoal/pkg-plist
@@ -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%%