aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mailx
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-26 17:20:04 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-26 17:20:04 +0800
commitb3cba25ef19d62ea248dd6293703825ed2c74d50 (patch)
treef8ddf23f0f57f8f807c79b9156e0584123b57a6c /mail/mailx
parent0a809eb32482d39adb23cfdf7ddb3cd7e3080626 (diff)
downloadfreebsd-ports-gnome-b3cba25ef19d62ea248dd6293703825ed2c74d50.tar.gz
freebsd-ports-gnome-b3cba25ef19d62ea248dd6293703825ed2c74d50.tar.zst
freebsd-ports-gnome-b3cba25ef19d62ea248dd6293703825ed2c74d50.zip
Support staging
Diffstat (limited to 'mail/mailx')
-rw-r--r--mail/mailx/Makefile16
-rw-r--r--mail/mailx/pkg-plist1
2 files changed, 9 insertions, 8 deletions
diff --git a/mail/mailx/Makefile b/mail/mailx/Makefile
index c144067ff781..750ea3c22969 100644
--- a/mail/mailx/Makefile
+++ b/mail/mailx/Makefile
@@ -21,17 +21,17 @@ EXTRACT_ONLY= mail-2.2.8.tar.gz
WRKSRC= ${WRKDIR}/mail-2.2.8
USES= perl5
USE_PERL5= run build patch
-MAN1= mailx.1
-MANCOMPRESSED= yes
-NO_STAGE= yes
post-patch:
- ${PERL5} -pi.bak -e 's/^(\.Nm mail)/$$1x/i; s/^(\.Dt MAIL)/$$1X/' ${WRKSRC}/mail.1
+ ${PERL5} -pi.bak -e 's/^(\.Nm mail)/$$1x/i; s/^(\.Dt MAIL)/$$1X/' \
+ ${WRKSRC}/mail.1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mail ${PREFIX}/bin/mailx
- ${INSTALL_MAN} ${WRKSRC}/mail.1.gz ${PREFIX}/man/man1/mailx.1.gz
- ${MKDIR} ${PREFIX}/share/doc/mailx
- ${INSTALL_DATA} ${DISTDIR}/mailx-memo-2.2.8R ${PREFIX}/share/doc/mailx
+ ${INSTALL_PROGRAM} ${WRKSRC}/mail ${STAGEDIR}${PREFIX}/bin/mailx
+ ${INSTALL_MAN} ${WRKSRC}/mail.1.gz \
+ ${STAGEDIR}${PREFIX}/man/man1/mailx.1.gz
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/mailx
+ ${INSTALL_DATA} ${DISTDIR}/mailx-memo-2.2.8R \
+ ${STAGEDIR}${PREFIX}/share/doc/mailx
.include <bsd.port.mk>
diff --git a/mail/mailx/pkg-plist b/mail/mailx/pkg-plist
index 09fe2d50aa2f..173be143356c 100644
--- a/mail/mailx/pkg-plist
+++ b/mail/mailx/pkg-plist
@@ -1,3 +1,4 @@
bin/mailx
share/doc/mailx/mailx-memo-2.2.8R
+man/man1/mailx.1.gz
@dirrm share/doc/mailx