summaryrefslogtreecommitdiffstats
path: root/games/linux-nwnclient/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/linux-nwnclient/Makefile')
-rw-r--r--games/linux-nwnclient/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/games/linux-nwnclient/Makefile b/games/linux-nwnclient/Makefile
index 031f849..31be7ee 100644
--- a/games/linux-nwnclient/Makefile
+++ b/games/linux-nwnclient/Makefile
@@ -89,10 +89,7 @@ do-configure:
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
- (cd ${WRKSRC} && ${FIND} . -print | \
- ${CPIO} -pdmuv -R${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR})
- ${FIND} ${STAGEDIR}${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 0755
- ${FIND} ${STAGEDIR}${DATADIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 0644
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
(cd ${STAGEDIR}${DATADIR} && ${CHMOD} 0755 dmclient nwmain nwserver)
.if defined(BINKPLAYERFILE)
(cd ${STAGEDIR}${DATADIR} && ${CHMOD} 0755 nwmovies/BinkPlayer)
OpenPOWER on IntegriCloud