aboutsummaryrefslogtreecommitdiff
path: root/chinese/cxterm
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /chinese/cxterm
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
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."