Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2014 01:33:19 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364146 - head/mail/pflogstats
Message-ID:  <53e185df.578c.29fa73c9@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Wed Aug  6 01:33:19 2014
New Revision: 364146
URL: http://svnweb.freebsd.org/changeset/ports/364146
QAT: https://qat.redports.org/buildarchive/r364146/

Log:
  mail/pflogstats: support stage

Modified:
  head/mail/pflogstats/Makefile

Modified: head/mail/pflogstats/Makefile
==============================================================================
--- head/mail/pflogstats/Makefile	Wed Aug  6 01:24:53 2014	(r364145)
+++ head/mail/pflogstats/Makefile	Wed Aug  6 01:33:19 2014	(r364146)
@@ -21,7 +21,6 @@ NO_BUILD=	yes
 USES=		perl5
 SITE_PERL_INST=	${SITE_PERL:S/${LOCALBASE}/${PREFIX}/}
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} \
 		-e 's|/usr/bin/perl.*|${PERL}|' \
@@ -31,17 +30,12 @@ post-patch:
 			${WRKSRC}/sqwmstats.pl
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl  ${PREFIX}/bin/${PORTNAME}
-	@${MKDIR} ${SITE_PERL_INST}/Pflogstats
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-*.pm ${SITE_PERL_INST}/Pflogstats
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl  ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${SITE_PERL_INST}/Pflogstats
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-*.pm ${STAGEDIR}${SITE_PERL_INST}/Pflogstats
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in README INSTALL ChangeLog BUGS TODO LICENSE CREDITS
-	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
-
-post-install:
-	@${CAT} ${PKGDIR}/pkg-message
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e185df.578c.29fa73c9>