summaryrefslogtreecommitdiffstats
path: root/games/linux-nwnclient
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-12-21 11:40:01 +0000
committerdes <des@FreeBSD.org>2004-12-21 11:40:01 +0000
commit4bb952cc50318c765f14663f85a1172c1b978484 (patch)
tree0450beed5b66810554ba9bafdcb5b82c9151cbb6 /games/linux-nwnclient
parent533d9ae779566bbe6db98d1265d79d7f4cab4035 (diff)
downloadFreeBSD-ports-4bb952cc50318c765f14663f85a1172c1b978484.zip
FreeBSD-ports-4bb952cc50318c765f14663f85a1172c1b978484.tar.gz
Fixed permissions.
Diffstat (limited to 'games/linux-nwnclient')
-rw-r--r--games/linux-nwnclient/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/linux-nwnclient/Makefile b/games/linux-nwnclient/Makefile
index dc993d5..e56b049 100644
--- a/games/linux-nwnclient/Makefile
+++ b/games/linux-nwnclient/Makefile
@@ -46,7 +46,9 @@ do-install:
${CPIO} -pdmuv -R${SHAREOWN}:${SHAREGRP} ${DATADIR})
${LN} -s ${LINUXBASE}/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so \
${DATADIR}/lib/libstdc++-libc6.1-2.so.3
- ${CHMOD} -R a+r ${DATADIR}
+ ${FIND} ${DATADIR} -type d -print0 | ${XARGS} -0 chmod 0755
+ ${FIND} ${DATADIR} -type f -print0 | ${XARGS} -0 chmod 0644
+ (cd ${DATADIR} && ${CHMOD} 0755 dmclient nwmain nwserver)
${INSTALL_SCRIPT} ${WRKDIR}/nwn ${PREFIX}/bin/
.include <bsd.port.mk>
OpenPOWER on IntegriCloud