diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-12-22 02:48:37 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-12-22 02:48:37 +0800 |
commit | 2d7c45feda182368287c36d5036b62c449db2029 (patch) | |
tree | 257f8c0e9eae485317784d302d3ae3567c274545 /chinese/moettf | |
parent | 9f6b177a00636bbe669f6ad210b50d6c78961820 (diff) | |
download | freebsd-ports-gnome-2d7c45feda182368287c36d5036b62c449db2029.tar.gz freebsd-ports-gnome-2d7c45feda182368287c36d5036b62c449db2029.tar.zst freebsd-ports-gnome-2d7c45feda182368287c36d5036b62c449db2029.zip |
due to ttfm module ghostscript6 change to gscjk
PR: 42330
Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Diffstat (limited to 'chinese/moettf')
-rw-r--r-- | chinese/moettf/Makefile | 14 | ||||
-rw-r--r-- | chinese/moettf/pkg-install | 10 |
2 files changed, 12 insertions, 12 deletions
diff --git a/chinese/moettf/Makefile b/chinese/moettf/Makefile index 78a2209b3983..c136664c5bf5 100644 --- a/chinese/moettf/Makefile +++ b/chinese/moettf/Makefile @@ -28,7 +28,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> @@ -36,8 +36,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 @@ -47,8 +47,8 @@ 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." @@ -56,10 +56,10 @@ pre-fetch: .if defined(DEFAULT) @${ECHO} "MOETTF will be set as default font." .endif -.if !defined(WANT_CJK) && !defined(WANT_GS6) && !defined(WITHOUT_X) && !defined(DEFAULT) +.if !defined(WANT_CJK) && !defined(WANT_GS) && !defined(WITHOUT_X) && !defined(DEFAULT) @${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} "Type \"make DEFAULT=yes\" to set MOETTF the default font." @${ECHO} "You can use them in combinations." diff --git a/chinese/moettf/pkg-install b/chinese/moettf/pkg-install index 2fee3f534597..179dcbb24c45 100644 --- a/chinese/moettf/pkg-install +++ b/chinese/moettf/pkg-install @@ -29,17 +29,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 |