diff options
-rw-r--r-- | chinese/moefonts-cid/Makefile | 2 | ||||
-rw-r--r-- | chinese/moefonts-cid/pkg-install | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chinese/moefonts-cid/Makefile b/chinese/moefonts-cid/Makefile index 30d1ec509f8a..3fb4f69da14a 100644 --- a/chinese/moefonts-cid/Makefile +++ b/chinese/moefonts-cid/Makefile @@ -31,6 +31,6 @@ do-install: ${FILESDIR}/MOESung-Regular-ETen-B5-H.gsf \ ${FILESDIR}/MOESung-Regular-ETen-B5-V.gsf \ ${PREFIX}/share/ghostscript/fonts - @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include <bsd.port.mk> diff --git a/chinese/moefonts-cid/pkg-install b/chinese/moefonts-cid/pkg-install index 7f3faa76cda4..c453580206c7 100644 --- a/chinese/moefonts-cid/pkg-install +++ b/chinese/moefonts-cid/pkg-install @@ -1,7 +1,7 @@ #!/bin/sh -GSVER=7.06 -GSDIR=${PKG_PREFIX}/share/ghostscript +GSVER=`cd ${PORTSDIR}/print/ghostscript-gnu && make -V GS_VERSION` +GSDIR=${PREFIX}/share/ghostscript FONTMAP=${GSDIR}/${GSVER}/lib/Fontmap.GS # Run just once. |