summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2004-02-15 16:53:59 +0000
committersketch <sketch@pkgsrc.org>2004-02-15 16:53:59 +0000
commitc25853a701775fa32d4448ed7a407d0a50e7acb8 (patch)
treefc9e07a101619ba6f8aa8a883396405e9345ddc6 /fonts
parent389fe5621c4584e5d0943a480bac0853136daf25 (diff)
downloadpkgsrc-c25853a701775fa32d4448ed7a407d0a50e7acb8.tar.gz
Be more explicit with fixing up permissions of files installed by this
package to avoid issues with operating systems which are unable to perform operations on a directory which is not writable.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/ghostscript-fonts/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/fonts/ghostscript-fonts/Makefile b/fonts/ghostscript-fonts/Makefile
index 3ae15fe4d4b..95afae0e11a 100644
--- a/fonts/ghostscript-fonts/Makefile
+++ b/fonts/ghostscript-fonts/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2003/07/17 21:37:06 grant Exp $
+# $NetBSD: Makefile,v 1.8 2004/02/15 16:53:59 sketch Exp $
DISTNAME= ghostscript-fonts-6.0
CATEGORIES= fonts
@@ -37,7 +37,9 @@ do-install:
done
${INSTALL_DATA} ${FILESDIR}/fonts.alias \
${PREFIX}/share/ghostscript/fonts/
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/ghostscript
- ${CHMOD} -R a-w ${PREFIX}/share/ghostscript
+ @for file in ${PREFIX}/share/ghostscript/fonts/*; do \
+ ${CHMOD} ${SHAREMODE} $${file}; \
+ ${CHOWN} ${SHAREOWN}:${SHAREGRP} $${file}; \
+ done
.include "../../mk/bsd.pkg.mk"