aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chinese/ttfm/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/chinese/ttfm/Makefile b/chinese/ttfm/Makefile
index dbcff37bcc86..7204fa1e7582 100644
--- a/chinese/ttfm/Makefile
+++ b/chinese/ttfm/Makefile
@@ -13,6 +13,11 @@ MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/ttfm/
MAINTAINER= keith@FreeBSD.org
+.include <bsd.port.pre.mk>
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
USE_FREETYPE= yes
FONTSDIR= ${PREFIX}/share/fonts/TrueType/
@@ -37,4 +42,4 @@ do-install:
MAN1= ttfm.sh.1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>