From 62f6f445dced88e9a358497ee912a482970bcdea Mon Sep 17 00:00:00 2001 From: leeym Date: Sat, 7 Feb 2004 16:02:26 +0000 Subject: update to 0.5 use PORTDOCS and PLIST_FILES instead of pkg-plist --- mail/spamstats/Makefile | 6 ++++-- mail/spamstats/distinfo | 3 ++- mail/spamstats/pkg-plist | 5 ----- 3 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 mail/spamstats/pkg-plist (limited to 'mail') diff --git a/mail/spamstats/Makefile b/mail/spamstats/Makefile index de2ec3b085b..cf8744785ae 100644 --- a/mail/spamstats/Makefile +++ b/mail/spamstats/Makefile @@ -6,7 +6,7 @@ # PORTNAME= spamstats -PORTVERSION= 0.4b5 +PORTVERSION= 0.5 CATEGORIES= mail MASTER_SITES= http://www.gryzor.com/tools/ @@ -17,6 +17,8 @@ RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5 USE_PERL5= yes NO_BUILD= yes +PORTDOCS= QUICK README copyright +PLIST_FILES= bin/spamstats.pl post-patch: @${PERL} -pi.bak -e 's,/mail.log,/maillog,g' ${WRKSRC}/${PORTNAME}${PORTVERSION}.pl @@ -25,7 +27,7 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}${PORTVERSION}.pl ${PREFIX}/bin/${PORTNAME}.pl .ifndef (NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for f in QUICK README copyright +.for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif diff --git a/mail/spamstats/distinfo b/mail/spamstats/distinfo index 67c2469c6f7..4ab01659a51 100644 --- a/mail/spamstats/distinfo +++ b/mail/spamstats/distinfo @@ -1 +1,2 @@ -MD5 (spamstats-0.4b5.tar.gz) = deb917c33610688292c61f44965c8e51 +MD5 (spamstats-0.5.tar.gz) = 1637bb6f0fb230720af4a88dd5094b7e +SIZE (spamstats-0.5.tar.gz) = 14779 diff --git a/mail/spamstats/pkg-plist b/mail/spamstats/pkg-plist deleted file mode 100644 index a3bd493fa07..00000000000 --- a/mail/spamstats/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -bin/spamstats.pl -%%PORTDOCS%%%%DOCSDIR%%/QUICK -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/copyright -%%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit