1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/mail/heirloom-mailx/Makefile
Pawel Pekala f72f765aae Fix path to sendmail binary that was accidentally removed
during a previous update

PR:		196082
Submitted by:	Jamie Landeg-Jones <jamie@dyslexicfish.net> (maintainer)
2015-02-04 19:33:25 +00:00

51 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= mailx
PORTVERSION= 12.4
PORTREVISION= 7
CATEGORIES= mail ipv6
MASTER_SITES= SF/heirloom/heirloom-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= heirloom-
MAINTAINER= jamie@dyslexicfish.net
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 tar:bzip2
USE_OPENSSL= yes
MAKE_ARGS= PREFIX="${PREFIX}" \
SYSCONFDIR="${PREFIX}/etc" \
SENDMAIL="/usr/sbin/sendmail" \
CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
PORTDOCS= AUTHORS COPYING ChangeLog README TODO
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.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>