aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2014-08-06 09:33:19 +0800
committerwg <wg@FreeBSD.org>2014-08-06 09:33:19 +0800
commit5649dcbdcfba72042c23d19b2e1ec89954dc983b (patch)
treec0c6fe77f5d3339d67744b79f4a6b92e169c2802 /mail
parentd0cb805dad4e94ff79b7075799acffc6caf44866 (diff)
downloadfreebsd-ports-gnome-5649dcbdcfba72042c23d19b2e1ec89954dc983b.tar.gz
freebsd-ports-gnome-5649dcbdcfba72042c23d19b2e1ec89954dc983b.tar.zst
freebsd-ports-gnome-5649dcbdcfba72042c23d19b2e1ec89954dc983b.zip
mail/pflogstats: support stage
Diffstat (limited to 'mail')
-rw-r--r--mail/pflogstats/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/mail/pflogstats/Makefile b/mail/pflogstats/Makefile
index de389b7d8a9a..b6cd1a4ae752 100644
--- a/mail/pflogstats/Makefile
+++ b/mail/pflogstats/Makefile
@@ -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>