Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Aug 2014 17:20:11 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363734 - head/www/p5-WWW-WebArchive
Message-ID:  <201408011720.s71HKBXa001455@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Aug  1 17:20:11 2014
New Revision: 363734
URL: http://svnweb.freebsd.org/changeset/ports/363734
QAT: https://qat.redports.org/buildarchive/r363734/

Log:
  - Add LICENSE
  - Add BUILD_DEPENDS
  - Fix .packlist path
  - Bump PORTREVISION for package change
  - Sort PLIST
  - Reformat pkg-descr

Modified:
  head/www/p5-WWW-WebArchive/Makefile
  head/www/p5-WWW-WebArchive/pkg-descr
  head/www/p5-WWW-WebArchive/pkg-plist

Modified: head/www/p5-WWW-WebArchive/Makefile
==============================================================================
--- head/www/p5-WWW-WebArchive/Makefile	Fri Aug  1 17:20:04 2014	(r363733)
+++ head/www/p5-WWW-WebArchive/Makefile	Fri Aug  1 17:20:11 2014	(r363734)
@@ -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>

Modified: head/www/p5-WWW-WebArchive/pkg-descr
==============================================================================
--- head/www/p5-WWW-WebArchive/pkg-descr	Fri Aug  1 17:20:04 2014	(r363733)
+++ head/www/p5-WWW-WebArchive/pkg-descr	Fri Aug  1 17:20:11 2014	(r363734)
@@ -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/

Modified: head/www/p5-WWW-WebArchive/pkg-plist
==============================================================================
--- head/www/p5-WWW-WebArchive/pkg-plist	Fri Aug  1 17:20:04 2014	(r363733)
+++ head/www/p5-WWW-WebArchive/pkg-plist	Fri Aug  1 17:20:11 2014	(r363734)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408011720.s71HKBXa001455>