aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authormita <mita@FreeBSD.org>2005-02-06 11:55:09 +0800
committermita <mita@FreeBSD.org>2005-02-06 11:55:09 +0800
commitf6f670746eb2d6c9da67b58bede707c2192b3f8e (patch)
tree95b447ffa31dfa70ce7a9e328dd527623443df2b /print
parent22011ba00c0d228d4b976a819e984bc0a3ef3887 (diff)
downloadfreebsd-ports-graphics-f6f670746eb2d6c9da67b58bede707c2192b3f8e.tar.gz
freebsd-ports-graphics-f6f670746eb2d6c9da67b58bede707c2192b3f8e.tar.zst
freebsd-ports-graphics-f6f670746eb2d6c9da67b58bede707c2192b3f8e.zip
Maintainer's update
- Make installation cleaner. Old installation procedure modified file permission of CIDFnmap file from 0444 to 0644. Submitted by: kris
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript-gnu-commfont/Makefile.common3
-rw-r--r--print/ghostscript-gnu-commfont/pkg-plist2
-rw-r--r--print/ghostscript7-commfont/Makefile.common3
-rw-r--r--print/ghostscript7-commfont/pkg-plist2
4 files changed, 8 insertions, 2 deletions
diff --git a/print/ghostscript-gnu-commfont/Makefile.common b/print/ghostscript-gnu-commfont/Makefile.common
index 025a7b0dfc2..2a2be5c30d0 100644
--- a/print/ghostscript-gnu-commfont/Makefile.common
+++ b/print/ghostscript-gnu-commfont/Makefile.common
@@ -16,7 +16,7 @@ NO_BUILD= yes
NO_WRKSUBDIR= yes
GSLIB_DIR= ${PREFIX}/share/ghostscript/${PORTVERSION}/lib
-PLIST_SUB= GS_VERSION=${PORTVERSION}
+PLIST_SUB= GS_VERSION=${PORTVERSION} SHAREMODE=${SHAREMODE}
.if defined(COMMFONT)
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-commfont
@@ -60,6 +60,7 @@ do-install:
${GREP} -v -e "${CIDFNMAP}" ${GSLIB_DIR}/CIDFnmap.orig > \
${GSLIB_DIR}/CIDFnmap
${ECHO_CMD} '(${CIDFNMAP}) .runlibfile' >> ${GSLIB_DIR}/CIDFnmap
+ ${CHMOD} ${SHAREMODE} ${GSLIB_DIR}/CIDFnmap
.endif
post-install:
diff --git a/print/ghostscript-gnu-commfont/pkg-plist b/print/ghostscript-gnu-commfont/pkg-plist
index c7db897c051..3cb5de7dff9 100644
--- a/print/ghostscript-gnu-commfont/pkg-plist
+++ b/print/ghostscript-gnu-commfont/pkg-plist
@@ -2,7 +2,9 @@ share/ghostscript/%%GS_VERSION%%/lib/%%CIDFNMAP%%
@exec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
@exec /usr/bin/grep -v -e '%%CIDFNMAP%%' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
@exec echo '(%%CIDFNMAP%%) .runlibfile' >> %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
+@exec /bin/chmod %%SHAREMODE%% %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
@exec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
@unexec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
@unexec /usr/bin/grep -v -e '%%CIDFNMAP%%' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
@unexec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
+@unexec /bin/chmod %%SHAREMODE%% %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
diff --git a/print/ghostscript7-commfont/Makefile.common b/print/ghostscript7-commfont/Makefile.common
index 025a7b0dfc2..2a2be5c30d0 100644
--- a/print/ghostscript7-commfont/Makefile.common
+++ b/print/ghostscript7-commfont/Makefile.common
@@ -16,7 +16,7 @@ NO_BUILD= yes
NO_WRKSUBDIR= yes
GSLIB_DIR= ${PREFIX}/share/ghostscript/${PORTVERSION}/lib
-PLIST_SUB= GS_VERSION=${PORTVERSION}
+PLIST_SUB= GS_VERSION=${PORTVERSION} SHAREMODE=${SHAREMODE}
.if defined(COMMFONT)
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-commfont
@@ -60,6 +60,7 @@ do-install:
${GREP} -v -e "${CIDFNMAP}" ${GSLIB_DIR}/CIDFnmap.orig > \
${GSLIB_DIR}/CIDFnmap
${ECHO_CMD} '(${CIDFNMAP}) .runlibfile' >> ${GSLIB_DIR}/CIDFnmap
+ ${CHMOD} ${SHAREMODE} ${GSLIB_DIR}/CIDFnmap
.endif
post-install:
diff --git a/print/ghostscript7-commfont/pkg-plist b/print/ghostscript7-commfont/pkg-plist
index c7db897c051..3cb5de7dff9 100644
--- a/print/ghostscript7-commfont/pkg-plist
+++ b/print/ghostscript7-commfont/pkg-plist
@@ -2,7 +2,9 @@ share/ghostscript/%%GS_VERSION%%/lib/%%CIDFNMAP%%
@exec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
@exec /usr/bin/grep -v -e '%%CIDFNMAP%%' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
@exec echo '(%%CIDFNMAP%%) .runlibfile' >> %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
+@exec /bin/chmod %%SHAREMODE%% %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
@exec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
@unexec /bin/mv %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
@unexec /usr/bin/grep -v -e '%%CIDFNMAP%%' %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig > %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap
@unexec /bin/rm %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap.orig
+@unexec /bin/chmod %%SHAREMODE%% %D/share/ghostscript/%%GS_VERSION%%/lib/CIDFnmap