Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 09:20:04 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346163 - head/mail/mailx
Message-ID:  <201402260920.s1Q9K4x0019546@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402260920.s1Q9K4x0019546>