# Created by: Andrew J. Caines # $FreeBSD: head/mail/pflogstats/Makefile 412348 2016-04-01 14:17:44Z mat $ PORTNAME= pflogstats PORTVERSION= 1.1.1 PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= mail MASTER_SITES= ftp://ftp.aerasec.de/pub/linux/postfix/pflogsumm/${PORTNAME}/ MAINTAINER= ports@FreeBSD.org COMMENT= Postfix Log Statistics Reporter BROKEN= unfetchable LICENSE= GPLv2+ RUN_DEPENDS= p5-Date-Calc>=0:devel/p5-Date-Calc \ p5-Net-IP>=0:net-mgmt/p5-Net-IP \ p5-Proc-ProcessTable>=0:devel/p5-Proc-ProcessTable \ p5-Number-Format>=0:textproc/p5-Number-Format \ p5-XML-Dumper>=0:textproc/p5-XML-Dumper NO_BUILD= yes USES= perl5 shebangfix SHEBANG_FILES= *.pl SITE_PERL_INST= ${PREFIX}/${SITE_PERL_REL} post-patch: @${REINPLACE_CMD} \ -e 's|/usr/local/lib/pflogstats|${SITE_PERL_INST}/Pflogstats|' \ ${WRKSRC}/apachelogiostats.pl \ ${WRKSRC}/pflogstats.pl \ ${WRKSRC}/sqwmstats.pl do-install: ${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} ${STAGEDIR}${DOCSDIR} .endfor .include