pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/ghostscript-fonts Be more explicit with fixing u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/531138099f44
branches:  trunk
changeset: 468627:531138099f44
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Sun Feb 15 16:53:59 2004 +0000

description:
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:

 fonts/ghostscript-fonts/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 9a3d1470559b -r 531138099f44 fonts/ghostscript-fonts/Makefile
--- a/fonts/ghostscript-fonts/Makefile  Sun Feb 15 16:22:27 2004 +0000
+++ b/fonts/ghostscript-fonts/Makefile  Sun Feb 15 16:53:59 2004 +0000
@@ -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 @@
        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"



Home | Main Index | Thread Index | Old Index