aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorclive <clive@FreeBSD.org>2002-03-31 18:07:04 +0800
committerclive <clive@FreeBSD.org>2002-03-31 18:07:04 +0800
commit1cdccb0998e736af7a2e912521598fb1220762aa (patch)
tree73d5d9e7d4c056f9e1bbd77812a4aad9fed132bc /chinese
parentadcae9bbead4565aaf82ad0fd937a61868a2eea4 (diff)
downloadfreebsd-ports-gnome-1cdccb0998e736af7a2e912521598fb1220762aa.tar.gz
freebsd-ports-gnome-1cdccb0998e736af7a2e912521598fb1220762aa.tar.zst
freebsd-ports-gnome-1cdccb0998e736af7a2e912521598fb1220762aa.zip
Add dependency for XFree86-4.
PR: ports/33038 Submitted by: Statue <statue@softwareliberty.org>
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>