1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

update to 0.5

use PORTDOCS and PLIST_FILES instead of pkg-plist
This commit is contained in:
Yen-Ming Lee 2004-02-07 16:02:26 +00:00
parent 4594c47079
commit eb74677bcd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100253
3 changed files with 6 additions and 8 deletions

View File

@ -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

View File

@ -1 +1,2 @@
MD5 (spamstats-0.4b5.tar.gz) = deb917c33610688292c61f44965c8e51
MD5 (spamstats-0.5.tar.gz) = 1637bb6f0fb230720af4a88dd5094b7e
SIZE (spamstats-0.5.tar.gz) = 14779

View File

@ -1,5 +0,0 @@
bin/spamstats.pl
%%PORTDOCS%%%%DOCSDIR%%/QUICK
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/copyright
%%PORTDOCS%%@dirrm %%DOCSDIR%%