diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2005-10-22 17:56:43 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2005-10-22 17:56:43 +0000 |
commit | 616fa70c10f70a8c177760c8e343dd02af08212c (patch) | |
tree | 57d80d05cbd5c475e72fb44271ebd0e70e6db6bb /mail | |
parent | a70bb3fe192d47037c1979aac340617d3fae8b5e (diff) | |
download | ports-616fa70c10f70a8c177760c8e343dd02af08212c.tar.gz ports-616fa70c10f70a8c177760c8e343dd02af08212c.zip |
Notes
Diffstat (limited to 'mail')
-rw-r--r-- | mail/pflogstats/Makefile | 13 | ||||
-rw-r--r-- | mail/pflogstats/files/patch-apachelogiostats.pl | 8 | ||||
-rw-r--r-- | mail/pflogstats/files/patch-pflogstats.pl | 8 | ||||
-rw-r--r-- | mail/pflogstats/files/patch-sqwmstats.pl | 8 |
4 files changed, 9 insertions, 28 deletions
diff --git a/mail/pflogstats/Makefile b/mail/pflogstats/Makefile index a272e9f91077..67caca067647 100644 --- a/mail/pflogstats/Makefile +++ b/mail/pflogstats/Makefile @@ -7,6 +7,7 @@ PORTNAME= pflogstats PORTVERSION= 1.1.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= mail MASTER_SITES= ftp://ftp.aerasec.de/pub/linux/postfix/pflogsumm/${PORTNAME}/ @@ -26,17 +27,21 @@ USE_REINPLACE= yes SITE_PERL_INST= ${SITE_PERL:S/${LOCALBASE}/${PREFIX}/} post-patch: -# fix location of PERL - @${REINPLACE_CMD} -e 's|/usr/local/lib/pflogstats|${SITE_PERL_INST}/Pflogstats|' ${WRKSRC}/*.pl + @${REINPLACE_CMD} \ + -e 's|/usr/bin/perl.*|${PERL}|' \ + -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 ${PREFIX}/bin/${PORTNAME} @${MKDIR} ${SITE_PERL_INST}/Pflogstats - ${INSTALL_DATA} ${WRKSRC}/pflogstats-*.pm ${SITE_PERL_INST}/Pflogstats + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-*.pm ${SITE_PERL_INST}/Pflogstats .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for i in README INSTALL ChangeLog BUGS TODO LICENSE CREDITS - ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif diff --git a/mail/pflogstats/files/patch-apachelogiostats.pl b/mail/pflogstats/files/patch-apachelogiostats.pl deleted file mode 100644 index 9f2c97c4ec96..000000000000 --- a/mail/pflogstats/files/patch-apachelogiostats.pl +++ /dev/null @@ -1,8 +0,0 @@ ---- apachelogiostats.pl.bak Sat Sep 27 04:27:38 2003 -+++ apachelogiostats.pl Sat Sep 27 04:27:49 2003 -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/perl - # - ### - # Project: pflogstats diff --git a/mail/pflogstats/files/patch-pflogstats.pl b/mail/pflogstats/files/patch-pflogstats.pl deleted file mode 100644 index 93b14d0a0c2e..000000000000 --- a/mail/pflogstats/files/patch-pflogstats.pl +++ /dev/null @@ -1,8 +0,0 @@ ---- pflogstats.pl.bak Sat Sep 27 04:24:41 2003 -+++ pflogstats.pl Sat Sep 27 04:24:49 2003 -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/perl - - ### - # Project: pflogstats diff --git a/mail/pflogstats/files/patch-sqwmstats.pl b/mail/pflogstats/files/patch-sqwmstats.pl deleted file mode 100644 index ab9983c386a2..000000000000 --- a/mail/pflogstats/files/patch-sqwmstats.pl +++ /dev/null @@ -1,8 +0,0 @@ ---- sqwmstats.pl.bak Sat Jul 19 14:40:21 2003 -+++ sqwmstats.pl Sat Jul 19 14:52:04 2003 -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/perl - - ### - # Project: pflogstats |