aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/arphicttf
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-04-01 09:47:09 +0800
committerleeym <leeym@FreeBSD.org>2003-04-01 09:47:09 +0800
commit069e1c24554d749c64230ae3399a37169426e350 (patch)
treef289b5e021dac888de8ec6db3d33d845d6b32b61 /chinese/arphicttf
parent6f4fc666b86ab3fcc852a0d84c62508d57f1c578 (diff)
downloadfreebsd-ports-gnome-069e1c24554d749c64230ae3399a37169426e350.tar.gz
freebsd-ports-gnome-069e1c24554d749c64230ae3399a37169426e350.tar.zst
freebsd-ports-gnome-069e1c24554d749c64230ae3399a37169426e350.zip
remove not-yet-supported CJK module and prevent it from loopback dependence.
PR: 35833 Submitted by: Chia-Hsing Yu <b7506061@csie.ntu.edu.tw> Approved by: maintainer timeout
Diffstat (limited to 'chinese/arphicttf')
-rw-r--r--chinese/arphicttf/Makefile14
-rw-r--r--chinese/arphicttf/pkg-install4
2 files changed, 2 insertions, 16 deletions
diff --git a/chinese/arphicttf/Makefile b/chinese/arphicttf/Makefile
index 299f0bac4f52..51ca0429c148 100644
--- a/chinese/arphicttf/Makefile
+++ b/chinese/arphicttf/Makefile
@@ -24,14 +24,10 @@ USE_XLIB= yes
FONTDIR= ${PREFIX}/share/fonts/TrueType
XFONTDIR= ${X11BASE}/lib/X11/fonts/TrueType
INSTALL_ENV= PKG_PREFIX=${PREFIX} XFREE86_VERSION=${XFREE86_VERSION} \
- WANT_CJK=${WANT_CJK} WANT_GS=${WANT_GS} \
- WITHOUT_X=${WITHOUT_X}
+ WANT_GS=${WANT_GS} WITHOUT_X=${WITHOUT_X}
.include <bsd.port.pre.mk>
-.if defined(WANT_CJK)
-RUN_DEPENDS+= bg5latex:${PORTSDIR}/chinese/CJK
-.endif
.if defined(WANT_GS)
RUN_DEPENDS+= ${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps
.endif
@@ -40,18 +36,14 @@ RUN_DEPENDS+= mkfontdir.pl:${PORTSDIR}/x11-servers/XttXF86srv-common
.endif
pre-fetch:
-.if defined(WANT_CJK)
- @${ECHO} "CJK support will be added."
-.endif
.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_GS) && !defined(WITHOUT_X)
+.if !defined(WANT_GS) && !defined(WITHOUT_X)
@${ECHO} --
- @${ECHO} "Type \"make WANT_CJK=yes\" if you want CJK 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."
@@ -59,9 +51,7 @@ pre-fetch:
.endif
do-install:
-.if !exists(${FONTDIR})
@${MKDIR} ${FONTDIR}
-.endif
@${INSTALL_DATA} ${WRKSRC}/font/bkai00mp.ttf ${FONTDIR}
@${INSTALL_DATA} ${WRKSRC}/font/bsmi00lp.ttf ${FONTDIR}
@${INSTALL_DATA} ${WRKSRC}/font/gbsn00lp.ttf ${FONTDIR}
diff --git a/chinese/arphicttf/pkg-install b/chinese/arphicttf/pkg-install
index dc24660fef43..8f4c16143b7b 100644
--- a/chinese/arphicttf/pkg-install
+++ b/chinese/arphicttf/pkg-install
@@ -20,10 +20,6 @@ fi
rm -f $FONTDIR/$PKGNAME
-if [ "X$WANT_CJK" != "X" ]; then
- # There's no CJK module now.
-fi
-
if [ "X$WANT_GS" != "X" ]; then
for f in $FONTS; do
$TTFM --add gscjk $FONTDIR/$f