1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Add LICENSE

- Add BUILD_DEPENDS
- Fix .packlist path
- Bump PORTREVISION for package change
- Sort PLIST
- Reformat pkg-descr
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-08-01 17:20:11 +00:00
parent 423f3ce053
commit f3b5055c28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363734
3 changed files with 22 additions and 14 deletions

View File

@ -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 <bsd.port.mk>

View File

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

View File

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