aboutsummaryrefslogtreecommitdiffstats
path: root/mail/metamail/Makefile
blob: 0216e77c5e1eff5585a9ec1a6a88475b20436f6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Created by: torstenb
# $FreeBSD$

PORTNAME=   metamail
PORTVERSION=    2.7
PORTREVISION=   14
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

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>