diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-06-08 21:19:05 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-06-08 21:19:05 +0800 |
commit | 05f146d4b88b410c7bd5fb8afcfde79b9df7b91b (patch) | |
tree | 6c5dee338f78cef98bc1cbb2ebdb5cfc14816105 /mail | |
parent | 84221d188b7958c0164cf5bb80bf7f2d715e10f7 (diff) | |
download | freebsd-ports-gnome-05f146d4b88b410c7bd5fb8afcfde79b9df7b91b.tar.gz freebsd-ports-gnome-05f146d4b88b410c7bd5fb8afcfde79b9df7b91b.tar.zst freebsd-ports-gnome-05f146d4b88b410c7bd5fb8afcfde79b9df7b91b.zip |
1: Stagify.
2: due pkg-plist changed, bump version.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/heirloom-mailx/Makefile | 25 | ||||
-rw-r--r-- | mail/heirloom-mailx/pkg-plist | 3 |
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 |