diff options
author | Jing-Tang Keith Jang <keith@FreeBSD.org> | 2000-12-10 15:57:18 +0800 |
---|---|---|
committer | Jing-Tang Keith Jang <keith@FreeBSD.org> | 2000-12-10 15:57:18 +0800 |
commit | 64fc50a4e61e644bbc6bbe562a91c744fb480a90 (patch) | |
tree | 6f751a5249ba7bab29ee88f5a2841ff2fdc775cf /chinese/wangttf/pkg-install | |
parent | 95c6fbe7e43198bedd0eb54221a3ac8f3645012d (diff) | |
download | freebsd-ports-64fc50a4e61e644bbc6bbe562a91c744fb480a90.tar.gz freebsd-ports-64fc50a4e61e644bbc6bbe562a91c744fb480a90.tar.zst freebsd-ports-64fc50a4e61e644bbc6bbe562a91c744fb480a90.zip |
Displays verbose message when install, and also adds
the WITHOUT_X option.
Tested under: current+XFree86-4
Notes
Notes:
svn path=/head/; revision=35815
Diffstat (limited to 'chinese/wangttf/pkg-install')
-rw-r--r-- | chinese/wangttf/pkg-install | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chinese/wangttf/pkg-install b/chinese/wangttf/pkg-install index 064dc1f454e3..5bbd84f0388c 100644 --- a/chinese/wangttf/pkg-install +++ b/chinese/wangttf/pkg-install @@ -13,8 +13,6 @@ FONTDIR=${PREFIX}/share/fonts/TrueType FONTS="wcl-01.ttf wcl-02.ttf wcl-03.ttf wcl-04.ttf wcl-05.ttf \ wcl-06.ttf wcl-07.ttf wcl-08.ttf wcl-09.ttf wcl-10.ttf" -[ "X$WANT_X" = "X" ] && WANT_X=YES - if [ ! -x $TTFM ]; then echo "$TTFM not found!" exit 1 @@ -22,11 +20,11 @@ fi rm -f $FONTDIR/$PKGNAME -if [ "$WANT_CJK" = "YES" -o "$WANT_CJK" = "yes" ]; then +if [ "X$WANT_CJK" != "X" ]; then # There's no CJK module now. fi -if [ "$WANT_GS6" = "YES" -o "$WANT_GS6" = "yes" ]; then +if [ "X$WANT_GS6" != "X" ]; then for f in $FONTS; do $TTFM --add ghostscript6 $FONTDIR/$f done @@ -39,7 +37,7 @@ if [ "$WANT_GS6" = "YES" -o "$WANT_GS6" = "yes" ]; then echo "ghostscript6" >> $FONTDIR/$PKGNAME fi -if [ "$WANT_X" = "YES" -o "$WANT_X" = "yes" ]; then +if [ "X$WITHOUT_X" = "X" ]; then for f in $FONTS; do $TTFM --add xttfm $FONTDIR/$f done |