Maintainer's update

- Make installation cleaner.  Old installation procedure modified
  file permission of CIDFnmap file from 0444 to 0644.

Submitted by:	kris
This commit is contained in:
Yoshio MITA 2005-02-06 03:55:09 +00:00
parent 1f842edce1
commit 92f155cdb9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128117
4 changed files with 8 additions and 2 deletions

View file

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

View file

@ -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

View file

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

View file

@ -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