summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-06-15 11:09:58 +0000
committerobache <obache@pkgsrc.org>2008-06-15 11:09:58 +0000
commit35222a6e3116ffe846ea5d61e0c676af22f329b9 (patch)
treef9025d97902180acc701dfbc54538a816c95c400 /emulators
parent25adb462a15c246d9a524c28d21d0723d2b6302d (diff)
downloadpkgsrc-35222a6e3116ffe846ea5d61e0c676af22f329b9.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