aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorClive Lin <clive@FreeBSD.org>2002-03-31 10:07:04 +0000
committerClive Lin <clive@FreeBSD.org>2002-03-31 10:07:04 +0000
commit0c54e1cc0a65b0aad07f2a944ad7c6255e0d4264 (patch)
tree1cff9c0afc176c8800199e57bab60ada68ac3246 /chinese
parent7dd0cf84b99171ce32e402e1f7191302f5c5c05d (diff)
downloadports-0c54e1cc0a65b0aad07f2a944ad7c6255e0d4264.tar.gz
ports-0c54e1cc0a65b0aad07f2a944ad7c6255e0d4264.zip
Add dependency for XFree86-4.
PR: ports/33038 Submitted by: Statue <statue@softwareliberty.org>
Notes
Notes: svn path=/head/; revision=57046
Diffstat (limited to 'chinese')
-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>