aboutsummaryrefslogtreecommitdiff
path: root/chinese/moefonts-cid
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-06-25 04:10:10 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-06-25 04:10:10 +0000
commit6fa6961aa56afc52e47d26ad3fbc80da3a5857dc (patch)
treeb181a6659cc8193ff2ded46e67962fb821b21a93 /chinese/moefonts-cid
parent0f183133b8b21413bce15836ec36ab6a45b7d4ba (diff)
downloadports-6fa6961aa56afc52e47d26ad3fbc80da3a5857dc.tar.gz
ports-6fa6961aa56afc52e47d26ad3fbc80da3a5857dc.zip
Notes
Diffstat (limited to 'chinese/moefonts-cid')
-rw-r--r--chinese/moefonts-cid/Makefile2
-rw-r--r--chinese/moefonts-cid/pkg-install4
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.