ports/129383: [PATCH] www/p5-WWW-Search: update to 2.507

Yen-Ming Lee leeym at FreeBSD.org
Wed Dec 3 05:50:01 UTC 2008


>Number:         129383
>Category:       ports
>Synopsis:       [PATCH] www/p5-WWW-Search: update to 2.507
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 03 05:50:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD cn1.leeym.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
- Update to 2.507

Port maintainer (clsung at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-WWW-Search-2.507.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/p5-WWW-Search/Makefile,v
retrieving revision 1.58
diff -u -d -b -w -u -r1.58 Makefile
--- Makefile	26 Jul 2008 01:39:57 -0000	1.58
+++ Makefile	3 Dec 2008 05:44:49 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	WWW-Search
-PORTVERSION=	2.504
+PORTVERSION=	2.507
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -14,22 +14,23 @@
 MAINTAINER=	clsung at FreeBSD.org
 COMMENT=	A perl5 module for WWW searches
 
-RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
-		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
-		${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
-		${SITE_PERL}/HTML/TreeBuilder.pm:${PORTSDIR}/www/p5-HTML-Tree \
-		${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \
-		${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
-		${SITE_PERL}/MIME/Lite.pm:${PORTSDIR}/mail/p5-MIME-Lite \
-		${SITE_PERL}/Test/Inline.pm:${PORTSDIR}/devel/p5-Test-Inline \
-		${SITE_PERL}/User.pm:${PORTSDIR}/sysutils/p5-User \
-		${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
-		${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
-		p5-IO-Capture>0:${PORTSDIR}/devel/p5-IO-Capture \
-		p5-Test-File>0:${PORTSDIR}/devel/p5-Test-File
+RUN_DEPENDS=	p5-Bit-Vector>=0:${PORTSDIR}/math/p5-Bit-Vector \
+		p5-Date-Manip>=0:${PORTSDIR}/devel/p5-Date-Manip \
+		p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp \
+		p5-HTML-Parser>=2.23:${PORTSDIR}/www/p5-HTML-Parser \
+		p5-HTML-Tree>=0:${PORTSDIR}/www/p5-HTML-Tree \
+		p5-URI>=0:${PORTSDIR}/net/p5-URI \
+		p5-User>=0:${PORTSDIR}/sysutils/p5-User \
+		p5-libwww>=2:${PORTSDIR}/www/p5-libwww
 BUILD_DEPENDS=	${RUN_DEPENDS}
+BUILD_DEPENDS+=	p5-IO-Capture>=0:${PORTSDIR}/devel/p5-IO-Capture \
+		p5-Pod-Coverage>=0:${PORTSDIR}/devel/p5-Pod-Coverage \
+		p5-Test-File>=0:${PORTSDIR}/devel/p5-Test-File \
+		p5-Test-Pod>=0:${PORTSDIR}/devel/p5-Test-Pod \
+		p5-Test-Pod-Coverage>=0:${PORTSDIR}/devel/p5-Test-Pod-Coverage
 
 PERL_CONFIGURE=	yes
+USE_DOS2UNIX=	yes
 
 MAN1=		AutoSearch.1 \
 		WebSearch.1
@@ -44,8 +45,10 @@
 		WWW::Search::Simple.3 \
 		WWW::Search::Test.3
 
-post-patch:
-	${FIND} ${WRKSRC} -name "*.pm" | ${XARGS} ${PERL} -pi.orig -e 's/\r//g'
-	${FIND} ${WRKSRC} -name "*.orig" -delete
+.include <bsd.port.pre.mk>
 
-.include <bsd.port.mk>
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+=	p5-Net>=0:${PORTSDIR}/net/p5-Net
+.endif
+
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/www/p5-WWW-Search/distinfo,v
retrieving revision 1.39
diff -u -d -b -w -u -r1.39 distinfo
--- distinfo	26 Jul 2008 01:39:57 -0000	1.39
+++ distinfo	3 Dec 2008 05:44:49 -0000
@@ -1,3 +1,3 @@
-MD5 (WWW-Search-2.504.tar.gz) = 5e1758ce6710bca8ee638c2f2e2b0eac
-SHA256 (WWW-Search-2.504.tar.gz) = 3e6302729cc4f65ed16494a5cafdbddcb1bce048976c1f955a1856f27d71c1ee
-SIZE (WWW-Search-2.504.tar.gz) = 85793
+MD5 (WWW-Search-2.507.tar.gz) = 5aadc9c62a7cff95e1e595390a0118b4
+SHA256 (WWW-Search-2.507.tar.gz) = 382a89dad3cb2666fee166fc427f652e6bf4201cf68aa1fcf819cc5b9e6f9811
+SIZE (WWW-Search-2.507.tar.gz) = 87890
--- p5-WWW-Search-2.507.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list