aboutsummaryrefslogtreecommitdiff
path: root/mail/metamail/Makefile
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-06-04 11:16:58 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-06-04 11:16:58 +0000
commit2283ee33fc753f4c2e18f5267eb7eccb55db85d8 (patch)
tree87418b1901309b91d9001fe791d9ac1c44800607 /mail/metamail/Makefile
parentd27edeb180716167d3b61dc08aa1d475b15fd1b4 (diff)
downloadports-2283ee33fc753f4c2e18f5267eb7eccb55db85d8.tar.gz
ports-2283ee33fc753f4c2e18f5267eb7eccb55db85d8.zip
Notes
Diffstat (limited to 'mail/metamail/Makefile')
-rw-r--r--mail/metamail/Makefile31
1 files changed, 9 insertions, 22 deletions
diff --git a/mail/metamail/Makefile b/mail/metamail/Makefile
index 629004222ec6..69064b5d3e61 100644
--- a/mail/metamail/Makefile
+++ b/mail/metamail/Makefile
@@ -15,34 +15,21 @@ COMMENT= Implementation of MIME, the Multipurpose Internet Mail Extensions
LICENSE= MIT
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT= X11
-X11_DESC= X11 hebrew font support
-
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
+OPTIONS_SUB= yes
-MAN1= audiocompose.1 audiosend.1 extcompose.1 \
- getfilename.1 mailto-hebrew.1 mailto.1 metamail.1 \
- metasend.1 mime.1 mimencode.1 mmencode.1 \
- patch-metamail.1 richtext.1 showaudio.1 \
- showexternal.1 shownonascii.1 showpartial.1 \
- showpicture.1 splitmail.1
-MAN4= mailcap.4
+X11_DESC= X11 hebrew font support
+X11_BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
+ mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
+X11_RUN_DEPENDS= xloadimage:${PORTSDIR}/x11/xloadimage \
+ mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
+X11_USE= XORG=x11
-NO_STAGE= yes
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MX11}
-BUILD_DEPENDS+= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
- mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
-RUN_DEPENDS+= xloadimage:${PORTSDIR}/x11/xloadimage \
- mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
-USE_XORG= x11
-PLIST_SUB+= X11=""
-.else
-PLIST_SUB+= X11="@comment "
-.endif
-
post-patch:
.if ! ${PORT_OPTIONS:MX11}
@${REINPLACE_CMD} -e '/fonts/d' ${WRKSRC}/Makefile