blob: 379fcf4f888384c30e2688433af41698983056f0 (
plain)
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
40
41
42
43
44
45
46
|
PORTNAME= mailx
PORTVERSION= 12.4
PORTREVISION= 8
CATEGORIES= mail
MASTER_SITES= SF/heirloom/heirloom-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= heirloom-
MAINTAINER= cy@FreeBSD.org
COMMENT= BSD mail utility with MIME, IMAP, POP3, SMTP, and S/MIME extensions
LICENSE= BSD4CLAUSE
OPTIONS_DEFINE= IPV6 DOCS
CONFLICTS= mailx-[0-9]*
MAKE_JOBS_UNSAFE= yes
USES= iconv localbase ssl tar:bzip2
CPPFLAGS+= -DOPENSSL_NO_SSL2
MAKE_ARGS= PREFIX="${PREFIX}" \
SYSCONFDIR="${PREFIX}/etc" \
SENDMAIL="/usr/sbin/sendmail" \
CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
PORTDOCS= AUTHORS COPYING ChangeLog README TODO
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIPV6}
MAKE_ARGS+= IPv6="-DHAVE_IPv6_FUNCS"
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/nail.rc ${STAGEDIR}${PREFIX}/etc/nail.rc.sample
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|