aboutsummaryrefslogtreecommitdiffstats
path: root/mail/metamail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/metamail/Makefile')
-rw-r--r--mail/metamail/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/metamail/Makefile b/mail/metamail/Makefile
index 3bcf75f11942..e7dd5b7cc262 100644
--- a/mail/metamail/Makefile
+++ b/mail/metamail/Makefile
@@ -16,6 +16,13 @@ MAINTAINER= torstenb@FreeBSD.org
RUN_DEPENDS= xloadimage:${PORTSDIR}/x11/xloadimage
+.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
+
USE_XLIB= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAN1= audiocompose.1 audiosend.1 extcompose.1 \
@@ -26,4 +33,4 @@ MAN1= audiocompose.1 audiosend.1 extcompose.1 \
showpicture.1 splitmail.1
MAN4= mailcap.4
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>