summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/arnold/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/emulators/arnold/Makefile b/emulators/arnold/Makefile
index 20db5fa3c9a..55b05f6da48 100644
--- a/emulators/arnold/Makefile
+++ b/emulators/arnold/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2008/05/25 21:42:21 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2008/06/15 11:09:58 obache Exp $
#
DISTNAME= arnsrc27012002
@@ -33,6 +33,9 @@ USE_TOOLS+= pax
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/arnold ${DESTDIR}${PREFIX}/bin
cd ${WRKSRC}/roms && pax -wr * ${DESTDIR}${SHAREDIR}/roms/
+ cd ${DESTDIR}${SHAREDIR}/roms && \
+ ${FIND} . -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE} && \
+ ${FIND} . -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
cd ${WRKSRC} && ${INSTALL_DATA} readme.* \
${DESTDIR}${PREFIX}/share/doc/arnold