aboutsummaryrefslogtreecommitdiff
path: root/chinese/wangttf
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-12-21 18:48:37 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-12-21 18:48:37 +0000
commit4cda2103eb716423497d6e7b7314946889adf32d (patch)
tree4bc3ee83b9f7b0be35d32e80550430dba15e5a11 /chinese/wangttf
parent9dfbb664c5fcc5e827d4ec83d41fd21b3f2ff6e6 (diff)
downloadports-4cda2103eb716423497d6e7b7314946889adf32d.tar.gz
ports-4cda2103eb716423497d6e7b7314946889adf32d.zip
due to ttfm module ghostscript6 change to gscjk
PR: 42330 Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Notes
Notes: svn path=/head/; revision=71758
Diffstat (limited to 'chinese/wangttf')
-rw-r--r--chinese/wangttf/Makefile14
-rw-r--r--chinese/wangttf/pkg-install10
2 files changed, 12 insertions, 12 deletions
diff --git a/chinese/wangttf/Makefile b/chinese/wangttf/Makefile
index fbc00e1e7d61..343828866b97 100644
--- a/chinese/wangttf/Makefile
+++ b/chinese/wangttf/Makefile
@@ -26,7 +26,7 @@ SHAREMODE= 644
FONTDIR= ${PREFIX}/share/fonts/TrueType
XFONTDIR= ${X11BASE}/lib/X11/fonts/TrueType
INSTALL_ENV= PKG_PREFIX=${PREFIX} XFREE86_VERSION=${XFREE86_VERSION} \
- DEFAULT=${DEFAULT} WANT_CJK=${WANT_CJK} WANT_GS6=${WANT_GS6} \
+ DEFAULT=${DEFAULT} WANT_CJK=${WANT_CJK} WANT_GS=${WANT_GS} \
WITHOUT_X=${WITHOUT_X}
.include <bsd.port.pre.mk>
@@ -34,8 +34,8 @@ INSTALL_ENV= PKG_PREFIX=${PREFIX} XFREE86_VERSION=${XFREE86_VERSION} \
.if defined(WANT_CJK)
RUN_DEPENDS+= bg5latex:${PORTSDIR}/chinese/CJK
.endif
-.if defined(WANT_GS6)
-RUN_DEPENDS+= ${LOCALBASE}/share/ghostscript/CJK/CMap/B5pc-H:${PORTSDIR}/chinese/ghostscript6
+.if defined(WANT_GS)
+RUN_DEPENDS+= ${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps
.endif
.if ${XFREE86_VERSION} == 3 && !defined(WITHOUT_X)
RUN_DEPENDS+= mkfontdir.pl:${PORTSDIR}/x11-servers/XttXF86srv-common
@@ -45,16 +45,16 @@ pre-fetch:
.if defined(WANT_CJK)
@${ECHO} "CJK support will be added."
.endif
-.if defined(WANT_GS6)
- @${ECHO} "Ghostscript6 support will be added."
+.if defined(WANT_GS)
+ @${ECHO} "Ghostscript support will be added."
.endif
.if defined(WITHOUT_X)
@${ECHO} "X Window support will NOT be added."
.endif
-.if !defined(WANT_CJK) && !defined(WANT_GS6) && !defined(WITHOUT_X)
+.if !defined(WANT_CJK) && !defined(WANT_GS) && !defined(WITHOUT_X)
@${ECHO} --
@${ECHO} "Type \"make WANT_CJK=yes\" if you want CJK support."
- @${ECHO} "Type \"make WANT_GS6=yes\" if you want Ghostscript6 support."
+ @${ECHO} "Type \"make WANT_GS=yes\" if you want Ghostscript support."
@${ECHO} "Type \"make WITHOUT_X=yes\" if you DONT want X Window support."
@${ECHO} "You can use them in combinations."
@${ECHO} --
diff --git a/chinese/wangttf/pkg-install b/chinese/wangttf/pkg-install
index 5bbd84f0388c..a581fd1b4b2b 100644
--- a/chinese/wangttf/pkg-install
+++ b/chinese/wangttf/pkg-install
@@ -24,17 +24,17 @@ if [ "X$WANT_CJK" != "X" ]; then
# There's no CJK module now.
fi
-if [ "X$WANT_GS6" != "X" ]; then
+if [ "X$WANT_GS" != "X" ]; then
for f in $FONTS; do
- $TTFM --add ghostscript6 $FONTDIR/$f
+ $TTFM --add gscjk $FONTDIR/$f
done
for f in $DEFAULTMING; do
- $TTFM --setdefault ghostscript6 $FONTDIR/$f
+ $TTFM --setdefault gscjk $FONTDIR/$f
done
for f in $DEFAULTKAI; do
- $TTFM --setdefault_kai ghostscript6 $FONTDIR/$f
+ $TTFM --setdefault_kai gscjk $FONTDIR/$f
done
- echo "ghostscript6" >> $FONTDIR/$PKGNAME
+ echo "gscjk" >> $FONTDIR/$PKGNAME
fi
if [ "X$WITHOUT_X" = "X" ]; then