aboutsummaryrefslogtreecommitdiff
path: root/mail/metamail
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-13 05:55:02 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-13 05:55:02 +0000
commit7da39d11c2a4d3613e19a4dc6a562337ba1bfacd (patch)
tree06c1fcce4e4bd9e8bdce472e8eca4f4a467896ca /mail/metamail
parentc2894a8bc4d59836f188e71d0024673d696c7ec8 (diff)
downloadports-7da39d11c2a4d3613e19a4dc6a562337ba1bfacd.tar.gz
ports-7da39d11c2a4d3613e19a4dc6a562337ba1bfacd.zip
Notes
Diffstat (limited to 'mail/metamail')
-rw-r--r--mail/metamail/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/mail/metamail/Makefile b/mail/metamail/Makefile
index b06cd2f92f38..44e46b4bdc59 100644
--- a/mail/metamail/Makefile
+++ b/mail/metamail/Makefile
@@ -17,7 +17,9 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Implementation of MIME, the Multipurpose Internet Mail Extensions
-OPTIONS= X11 "X11 hebrew font support" on
+OPTIONS_DEFINE= X11
+OPTIONS_DEFAULT= X11
+X11_DESC= X11 hebrew font support
WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAN1= audiocompose.1 audiosend.1 extcompose.1 \
@@ -28,9 +30,9 @@ MAN1= audiocompose.1 audiosend.1 extcompose.1 \
showpicture.1 splitmail.1
MAN4= mailcap.4
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_X11)
+.if ${PORT_OPTIONS:MX11}
BUILD_DEPENDS+= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
RUN_DEPENDS+= xloadimage:${PORTSDIR}/x11/xloadimage \
@@ -42,9 +44,9 @@ PLIST_SUB+= X11="@comment "
.endif
post-patch:
-.if defined(WITHOUT_X11)
+.if empty(PORT_OPTIONS:MX11)
@${REINPLACE_CMD} -e '/fonts/d' ${WRKSRC}/Makefile
.endif
@${RM} ${WRKSRC}/bin/*.orig
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>