summaryrefslogtreecommitdiff
path: root/fonts/ghostscript-fonts
diff options
context:
space:
mode:
authorsketch <sketch>2004-02-15 16:53:59 +0000
committersketch <sketch>2004-02-15 16:53:59 +0000
commit3d034d82337df1a9ebf1848eac0b6e5e0b9490c3 (patch)
treefc9e07a101619ba6f8aa8a883396405e9345ddc6 /fonts/ghostscript-fonts
parentdb0d90826bda3a2b0d76549e2a1d65075903b5f9 (diff)
downloadpkgsrc-3d034d82337df1a9ebf1848eac0b6e5e0b9490c3.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/ghostscript-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"