aboutsummaryrefslogtreecommitdiff
path: root/mail/pflogstats
diff options
context:
space:
mode:
Diffstat (limited to 'mail/pflogstats')
-rw-r--r--mail/pflogstats/Makefile41
-rw-r--r--mail/pflogstats/distinfo1
-rw-r--r--mail/pflogstats/pkg-descr3
-rw-r--r--mail/pflogstats/pkg-plist21
4 files changed, 66 insertions, 0 deletions
diff --git a/mail/pflogstats/Makefile b/mail/pflogstats/Makefile
new file mode 100644
index 000000000000..6ac445fca4ea
--- /dev/null
+++ b/mail/pflogstats/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: pflogstats
+# Date created: 30 April 2003
+# Whom: Andrew J. Caines <A.J.Caines@halplant.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pflogstats
+PORTVERSION= 20030404
+CATEGORIES= mail
+MASTER_SITES= ftp://ftp.aerasec.de/pub/linux/postfix/pflogsumm/pflogstats/
+
+MAINTAINER= A.J.Caines@halplant.com
+COMMENT= Postfix Log Statistics Reporter
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/IP.pm:${PORTSDIR}/net/p5-Net-IP \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Proc/ProcessTable.pm:${PORTSDIR}/devel/p5-Proc-ProcessTable \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Number/Format.pm:${PORTSDIR}/textproc/p5-Number-Format
+
+NO_BUILD= yes
+USE_PERL5= yes
+USE_REINPLACE= yes
+
+post-patch:
+# fix location of PERL
+ @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/*.pl
+ @${REINPLACE_CMD} -e 's|/usr/local/lib/pflogstats|${SITE_PERL}/Pflogstats|' ${WRKSRC}/*.pl
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
+ @${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pflogstats
+ ${INSTALL_DATA} ${WRKSRC}/pflogstats-*.pm ${SITE_PERL}/Pflogstats
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/pflogstats
+.for i in README INSTALL ChangeLog BUGS TODO LICENSE CREDITS
+ ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/pflogstats
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/mail/pflogstats/distinfo b/mail/pflogstats/distinfo
new file mode 100644
index 000000000000..c4f227cc1af5
--- /dev/null
+++ b/mail/pflogstats/distinfo
@@ -0,0 +1 @@
+MD5 (pflogstats-20030404.tar.gz) = ee0efe0a442245622ea68cb3bac6542f
diff --git a/mail/pflogstats/pkg-descr b/mail/pflogstats/pkg-descr
new file mode 100644
index 000000000000..8c0191ec5abd
--- /dev/null
+++ b/mail/pflogstats/pkg-descr
@@ -0,0 +1,3 @@
+Extended version of the pflogsumm Postfix log reporting utility.
+
+FTP: ftp://ftp.aerasec.de/pub/linux/postfix/pflogsumm/pflogstats/
diff --git a/mail/pflogstats/pkg-plist b/mail/pflogstats/pkg-plist
new file mode 100644
index 000000000000..4f6e29eebaa9
--- /dev/null
+++ b/mail/pflogstats/pkg-plist
@@ -0,0 +1,21 @@
+bin/pflogstats
+%%SITE_PERL%%/Pflogstats/pflogstats-common-profiling.pm
+%%SITE_PERL%%/Pflogstats/pflogstats-common-support.pm
+%%SITE_PERL%%/Pflogstats/pflogstats-extensions-addressmapping.pm
+%%SITE_PERL%%/Pflogstats/pflogstats-extensions-networking.pm
+%%SITE_PERL%%/Pflogstats/pflogstats-extensions-verpmung.pm
+%%SITE_PERL%%/Pflogstats/pflogstats-statistics-accounting.pm
+%%SITE_PERL%%/Pflogstats/pflogstats-statistics-accpopimap.pm
+%%SITE_PERL%%/Pflogstats/pflogstats-statistics-antivirus.pm
+%%SITE_PERL%%/Pflogstats/pflogstats-statistics-reject.pm
+%%SITE_PERL%%/Pflogstats/pflogstats-statistics-uce.pm
+%%SITE_PERL%%/Pflogstats/pflogstats-template.pm
+%%PORTDOCS%%share/doc/pflogstats/BUGS
+%%PORTDOCS%%share/doc/pflogstats/CREDITS
+%%PORTDOCS%%share/doc/pflogstats/ChangeLog
+%%PORTDOCS%%share/doc/pflogstats/INSTALL
+%%PORTDOCS%%share/doc/pflogstats/LICENSE
+%%PORTDOCS%%share/doc/pflogstats/README
+%%PORTDOCS%%share/doc/pflogstats/TODO
+%%PORTDOCS%%@dirrm share/doc/pflogstats
+@dirrm %%SITE_PERL%%/Pflogstats