aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/kcfonts
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/kcfonts')
-rw-r--r--chinese/kcfonts/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/chinese/kcfonts/Makefile b/chinese/kcfonts/Makefile
index 2b185f01b1f4..7b94adf62e39 100644
--- a/chinese/kcfonts/Makefile
+++ b/chinese/kcfonts/Makefile
@@ -14,6 +14,14 @@ MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/distfiles/ \
MAINTAINER= PA@FreeBSD.ee.Ntu.edu.TW
USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
NO_WRKSUBDIR= yes
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>