aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript-gnu-commfont
diff options
context:
space:
mode:
authorYoshio MITA <mita@FreeBSD.org>2005-02-06 03:55:09 +0000
committerYoshio MITA <mita@FreeBSD.org>2005-02-06 03:55:09 +0000
commit92f155cdb9c0e7fa82464164b8ca7a8b62755c1f (patch)
tree7550ac5c976f5cf16df84beebcf6fdbfe542c1a2 /print/ghostscript-gnu-commfont
parent1f842edce1815b69f5a362192344e82b32d9fd0e (diff)
downloadports-92f155cdb9c0e7fa82464164b8ca7a8b62755c1f.tar.gz
ports-92f155cdb9c0e7fa82464164b8ca7a8b62755c1f.zip
Notes
Diffstat (limited to 'print/ghostscript-gnu-commfont')
-rw-r--r--print/ghostscript-gnu-commfont/Makefile.common3
-rw-r--r--print/ghostscript-gnu-commfont/pkg-plist2
2 files changed, 4 insertions, 1 deletions
diff --git a/print/ghostscript-gnu-commfont/Makefile.common b/print/ghostscript-gnu-commfont/Makefile.common
index 025a7b0dfc23..2a2be5c30d03 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 c7db897c051d..3cb5de7dff9d 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