diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2005-10-23 01:56:43 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2005-10-23 01:56:43 +0800 |
commit | 79f3650932b488bec46c4ab19aed3854f2a2fed5 (patch) | |
tree | 051ca371692d48642b826f76fb8b772dc935a027 /mail/pflogstats | |
parent | 6b604a04aaf4a8c9e850607b33c6707a79cde614 (diff) | |
download | freebsd-ports-gnome-79f3650932b488bec46c4ab19aed3854f2a2fed5.tar.gz freebsd-ports-gnome-79f3650932b488bec46c4ab19aed3854f2a2fed5.tar.zst freebsd-ports-gnome-79f3650932b488bec46c4ab19aed3854f2a2fed5.zip |
- fix broken patch
- bump PORTREVISION
- nuke files/*
- cleanup
PR: 87830
Submitted by: Andrew J. Caines <A.J.Caines@halplant.com> (maintainer)
Diffstat (limited to 'mail/pflogstats')
-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 |