aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-08 13:19:05 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-08 13:19:05 +0000
commit97c2d0c507d568e7b9dd3ce120c00049b44db8bf (patch)
tree6c5dee338f78cef98bc1cbb2ebdb5cfc14816105 /mail
parentac30cb067faf4da48f4ff2e1f3741de717d71563 (diff)
downloadports-97c2d0c507d568e7b9dd3ce120c00049b44db8bf.tar.gz
ports-97c2d0c507d568e7b9dd3ce120c00049b44db8bf.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/heirloom-mailx/Makefile25
-rw-r--r--mail/heirloom-mailx/pkg-plist3
2 files changed, 10 insertions, 18 deletions
diff --git a/mail/heirloom-mailx/Makefile b/mail/heirloom-mailx/Makefile
index 2aae24b47fd1..f9c102eef2f6 100644
--- a/mail/heirloom-mailx/Makefile
+++ b/mail/heirloom-mailx/Makefile
@@ -3,7 +3,7 @@
PORTNAME= mailx
PORTVERSION= 12.4
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail ipv6
MASTER_SITES= SF/heirloom/heirloom-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= heirloom-
@@ -16,8 +16,7 @@ OPTIONS_DEFINE= IPV6 DOCS
CONFLICTS= mailx-[0-9]*
MAKE_JOBS_UNSAFE= yes
-USE_BZIP2= yes
-USES= iconv
+USES= iconv tar:bzip2
USE_OPENSSL= yes
MAKE_ARGS= PREFIX="${PREFIX}" \
SYSCONFDIR="${PREFIX}/etc" \
@@ -25,18 +24,11 @@ MAKE_ARGS= PREFIX="${PREFIX}" \
CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
-MAN1= ${PORTNAME}.1
PORTDOCS= AUTHORS COPYING ChangeLog README TODO
-PLIST_FILES= bin/${PORTNAME} \
- "@unexec if cmp -s %D/etc/nail.rc %D/etc/nail.rc.default; then ${RM} -f %D/etc/nail.rc; fi " \
- "etc/nail.rc.default" \
- "@exec [ -f %B/nail.rc ] || ${CP} %B/%f %B/nail.rc"
-
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIPV6}
@@ -44,16 +36,13 @@ MAKE_ARGS+= IPv6="-DHAVE_IPv6_FUNCS"
.endif
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
- ${INSTALL_DATA} ${WRKSRC}/nail.rc ${PREFIX}/etc/nail.rc.default
-.if !exists(${PREFIX}/etc/nail.rc)
- ${INSTALL_DATA} ${WRKSRC}/nail.rc ${PREFIX}/etc
-.endif
+ ${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} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
diff --git a/mail/heirloom-mailx/pkg-plist b/mail/heirloom-mailx/pkg-plist
new file mode 100644
index 000000000000..2c30ee1584ee
--- /dev/null
+++ b/mail/heirloom-mailx/pkg-plist
@@ -0,0 +1,3 @@
+bin/mailx
+@sample etc/nail.rc.sample
+man/man1/mailx.1.gz