summaryrefslogtreecommitdiff
path: root/fonts/ghostscript-fonts/Makefile
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
commit1a348552ea59fb268b72f68f9787efbe631fe15e (patch)
treefc9e07a101619ba6f8aa8a883396405e9345ddc6 /fonts/ghostscript-fonts/Makefile
parent867f8463b6ad22208e1bde8a611087941d6d11fb (diff)
downloadpkgsrc-1a348552ea59fb268b72f68f9787efbe631fe15e.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/Makefile')
-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"