aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/bitmap-fonts
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>2000-09-10 23:51:09 +0800
committershige <shige@FreeBSD.org>2000-09-10 23:51:09 +0800
commit491c7799d700bb172339124e7f3892b6841119d3 (patch)
treec0eba47e6deed755e20ae5a6b3e496637afab1aa /x11-fonts/bitmap-fonts
parent2c61a62d9db9bc68a57a10c4bc4712ce64a62b8b (diff)
downloadfreebsd-ports-gnome-491c7799d700bb172339124e7f3892b6841119d3.tar.gz
freebsd-ports-gnome-491c7799d700bb172339124e7f3892b6841119d3.tar.zst
freebsd-ports-gnome-491c7799d700bb172339124e7f3892b6841119d3.zip
Add depend-mechanism on XFree86-4.
Submitted by: asami
Diffstat (limited to 'x11-fonts/bitmap-fonts')
-rw-r--r--x11-fonts/bitmap-fonts/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-fonts/bitmap-fonts/Makefile b/x11-fonts/bitmap-fonts/Makefile
index a37ce1accb77..1179e47d8adb 100644
--- a/x11-fonts/bitmap-fonts/Makefile
+++ b/x11-fonts/bitmap-fonts/Makefile
@@ -30,6 +30,12 @@ USE_X_PREFIX= yes
PLIST_SUB= FONTSDIR=${FONTSDIR}
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
do-build:
@(cd ${WRKSRC}; \
for i in ${BITMAP_FONTS} ; do \
@@ -57,4 +63,4 @@ post-install:
@${SETENV} PKG_PREFIX=${X11BASE} \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>