6e89c2ae20
Fixes check-plist errors with the X11 option unset. PR: 190768 Submitted by: Dave Duchscher <daved@tamu.edu>
39 lines
924 B
Makefile
39 lines
924 B
Makefile
# Created by: torstenb
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= metamail
|
|
PORTVERSION= 2.7
|
|
PORTREVISION= 11
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://ftp.funet.fi/pub/unix/mail/metamail/ \
|
|
ftp://ftp.research.telcordia.com/pub/nsb/
|
|
DISTNAME= mm${PORTVERSION}
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Implementation of MIME, the Multipurpose Internet Mail Extensions
|
|
|
|
LICENSE= MIT
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
OPTIONS_DEFINE= X11
|
|
OPTIONS_DEFAULT= X11
|
|
OPTIONS_SUB= yes
|
|
|
|
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
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
.if ! ${PORT_OPTIONS:MX11}
|
|
@${REINPLACE_CMD} -e '/fonts/d' ${WRKSRC}/Makefile
|
|
.endif
|
|
@${RM} ${WRKSRC}/bin/*.orig
|
|
|
|
.include <bsd.port.mk>
|