svn commit: r346163 - head/mail/mailx
Emanuel Haupt
ehaupt at FreeBSD.org
Wed Feb 26 09:20:05 UTC 2014
Author: ehaupt
Date: Wed Feb 26 09:20:04 2014
New Revision: 346163
URL: http://svnweb.freebsd.org/changeset/ports/346163
QAT: https://qat.redports.org/buildarchive/r346163/
Log:
Support staging
Modified:
head/mail/mailx/Makefile
head/mail/mailx/pkg-plist
Modified: head/mail/mailx/Makefile
==============================================================================
--- head/mail/mailx/Makefile Wed Feb 26 09:17:57 2014 (r346162)
+++ head/mail/mailx/Makefile Wed Feb 26 09:20:04 2014 (r346163)
@@ -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>
Modified: head/mail/mailx/pkg-plist
==============================================================================
--- head/mail/mailx/pkg-plist Wed Feb 26 09:17:57 2014 (r346162)
+++ head/mail/mailx/pkg-plist Wed Feb 26 09:20:04 2014 (r346163)
@@ -1,3 +1,4 @@
bin/mailx
share/doc/mailx/mailx-memo-2.2.8R
+man/man1/mailx.1.gz
@dirrm share/doc/mailx
More information about the svn-ports-head
mailing list