From f3b5055c28f76289bc50b765caf6686b8af26172 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Fri, 1 Aug 2014 17:20:11 +0000 Subject: [PATCH] - Add LICENSE - Add BUILD_DEPENDS - Fix .packlist path - Bump PORTREVISION for package change - Sort PLIST - Reformat pkg-descr --- www/p5-WWW-WebArchive/Makefile | 12 ++++++++++-- www/p5-WWW-WebArchive/pkg-descr | 15 +++++++-------- www/p5-WWW-WebArchive/pkg-plist | 9 +++++---- 3 files changed, 22 insertions(+), 14 deletions(-) diff --git a/www/p5-WWW-WebArchive/Makefile b/www/p5-WWW-WebArchive/Makefile index 34143877dd22..98f255988cbc 100644 --- a/www/p5-WWW-WebArchive/Makefile +++ b/www/p5-WWW-WebArchive/Makefile @@ -3,6 +3,7 @@ PORTNAME= WWW-WebArchive PORTVERSION= 0.50 +PORTREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -10,11 +11,18 @@ PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Retrieve old versions of public web pages from various web archives -RUN_DEPENDS= p5-App-Options>=0:${PORTSDIR}/devel/p5-App-Options \ +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-App-Options>=0:${PORTSDIR}/devel/p5-App-Options \ p5-App-Trace>=0:${PORTSDIR}/devel/p5-App-Trace \ p5-WWW-Mechanize>=0:${PORTSDIR}/www/p5-WWW-Mechanize +RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= perl5 USE_PERL5= configure +USES= perl5 + +post-patch: + @${REINPLACE_CMD} -e '/NAME/ s|WWW-WebArchive|WWW::WebArchive|' ${WRKSRC}/Makefile.PL .include diff --git a/www/p5-WWW-WebArchive/pkg-descr b/www/p5-WWW-WebArchive/pkg-descr index 392b53b957b9..d5e0d4022032 100644 --- a/www/p5-WWW-WebArchive/pkg-descr +++ b/www/p5-WWW-WebArchive/pkg-descr @@ -1,14 +1,13 @@ -WWW-WebArchive is a set of modules to retrieve old versions of public -web pages from various web archives. +WWW::WebArchive is a set of modules to retrieve old versions of public web pages +from various web archives. - * http://www.archive.org - Internet Archive's Wayback Machine - * http://www.google.com - Google's page cache +* http://www.archive.org - Internet Archive's Wayback Machine +* http://www.google.com - Google's page cache This is useful if - 1. Your web server crashed and you didn't have complete backups - 2. A site (such as a valuable reference source) changed or went away - and you want to restore an old version of the site to your local - disk +1. Your web server crashed and you didn't have complete backups +2. A site (such as a valuable reference source) changed or went away and you + want to restore an old version of the site to your local disk WWW: http://search.cpan.org/dist/WWW-WebArchive/ diff --git a/www/p5-WWW-WebArchive/pkg-plist b/www/p5-WWW-WebArchive/pkg-plist index da88e1133a9a..cbef2adc4f53 100644 --- a/www/p5-WWW-WebArchive/pkg-plist +++ b/www/p5-WWW-WebArchive/pkg-plist @@ -1,11 +1,12 @@ -%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW-WebArchive/.packlist +bin/webarchive %%SITE_PERL%%/WWW/WebArchive.pm %%SITE_PERL%%/WWW/WebArchive/Agent.pm %%SITE_PERL%%/WWW/WebArchive/WaybackMachine.pm -bin/webarchive +%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/WebArchive/.packlist %%PERL5_MAN3%%/WWW::WebArchive.3.gz %%PERL5_MAN3%%/WWW::WebArchive::Agent.3.gz %%PERL5_MAN3%%/WWW::WebArchive::WaybackMachine.3.gz -@dirrmtry %%SITE_PERL%%/WWW/WebArchive +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/WebArchive +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW +@dirrm %%SITE_PERL%%/WWW/WebArchive @dirrmtry %%SITE_PERL%%/WWW -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW-WebArchive