1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/mail/metamail/Makefile
Kurt Jaeger f452ae78db mail/metamail: fix build with X11 option enabled
- It has been broken for more than one year. r412348 was the last
  buildable version

PR:		224794
Submitted by:	Ting-Wei Lan <lantw44@gmail.com>
2018-01-01 09:09:51 +00:00

42 lines
1017 B
Makefile

# Created by: torstenb
# $FreeBSD$
PORTNAME= metamail
PORTVERSION= 2.7
PORTREVISION= 15
CATEGORIES= mail
MASTER_SITES= http://ftp.funet.fi/pub/unix/mail/metamail/ \
ftp://ftp.research.telcordia.com/pub/nsb/
DISTNAME= mm${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Implementation of MIME, the Multipurpose Internet Mail Extensions
LICENSE= MIT
USES= ncurses tar:Z
MAKE_ARGS= LDLIBS="${LDFLAGS}"
WRKSRC= ${WRKDIR}/${DISTNAME}/src
OPTIONS_DEFINE= X11
OPTIONS_SUB= yes
X11_DESC= X11 hebrew font support
X11_BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf \
mkfontscale:x11-fonts/mkfontscale
X11_RUN_DEPENDS= xloadimage:x11/xloadimage \
mkfontdir:x11-fonts/mkfontdir
X11_USE= XORG=x11
X11_EXTRA_PATCHES= ${FILESDIR}/extra-patch-Makefile-x11
X11_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-Makefile-nox11
post-patch-X11-off:
@${REINPLACE_CMD} -e '/fonts/d' ${WRKSRC}/Makefile
post-install:
${MV} ${STAGEDIR}${PREFIX}/etc/mailcap \
${STAGEDIR}${PREFIX}/etc/mailcap.sample
.include <bsd.port.mk>