summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorobache <obache>2008-06-15 11:09:58 +0000
committerobache <obache>2008-06-15 11:09:58 +0000
commitfd41faa3fc8fc629ed6b2d2aa2b55a740e2520e3 (patch)
treef9025d97902180acc701dfbc54538a816c95c400 /emulators
parent23604ce18f37b3b55a828d5067a809d279d1cc40 (diff)
downloadpkgsrc-fd41faa3fc8fc629ed6b2d2aa2b55a740e2520e3.tar.gz
Fixes permission of rom data files, noticed in PR 38906.
Diffstat (limited to 'emulators')
-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