aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/cxterm
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/cxterm')
-rw-r--r--chinese/cxterm/Makefile8
-rw-r--r--chinese/cxterm/scripts/pre-install2
2 files changed, 6 insertions, 4 deletions
diff --git a/chinese/cxterm/Makefile b/chinese/cxterm/Makefile
index 651bae8ad3cd..e0a23bfdcd4a 100644
--- a/chinese/cxterm/Makefile
+++ b/chinese/cxterm/Makefile
@@ -8,7 +8,7 @@
PORTNAME= cxterm
PORTVERSION= 5.0.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= chinese x11
MASTER_SITES= ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/x-win/cxterm/ \
http://www.525183.com/freebsd/cxterm/ \
@@ -23,8 +23,10 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= sunrychen@gmail.com
COMMENT= An xterm that speaks Chinese
-BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
-RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
+BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
+ mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
+ mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
WRKSRC= ${WRKDIR}/cxterm-5.0
USE_IMAKE= yes
diff --git a/chinese/cxterm/scripts/pre-install b/chinese/cxterm/scripts/pre-install
index a03377bc3ca5..8526701b234e 100644
--- a/chinese/cxterm/scripts/pre-install
+++ b/chinese/cxterm/scripts/pre-install
@@ -22,7 +22,7 @@ echo "" >> $CXTERM_SH
# look for Simple fonts from the X11R6 misc fonts collection
-if [ ! -f ${X11BASE}/lib/X11/fonts/misc/gb16st.pcf.Z ]; then
+if [ ! -f ${LOCALBASE}/lib/X11/fonts/misc/gb16st.pcf.Z ]; then
echo ""
echo "You need to install the X11R6 misc fonts in order to get the"
echo "Simple Chinese fonts."