aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/Xg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/Xg/Makefile')
-rw-r--r--x11-fonts/Xg/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11-fonts/Xg/Makefile b/x11-fonts/Xg/Makefile
index b01191ed3a45..b9e36d4041ab 100644
--- a/x11-fonts/Xg/Makefile
+++ b/x11-fonts/Xg/Makefile
@@ -16,4 +16,11 @@ MAINTAINER= ports@FreeBSD.org
NO_WRKSUBDIR= yes
USE_X_PREFIX= yes
-.include <bsd.port.mk>
+.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
+
+.include <bsd.port.post.mk>