1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

mail/pflogstats: support stage

This commit is contained in:
William Grzybowski 2014-08-06 01:33:19 +00:00
parent a5b2d134ad
commit 008b3a5ca4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364146

View File

@ -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>