Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 2004 10:01:14 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        perl@FreeBSD.org
Subject:   Reduce dependency for p5-WWW-Mechanize*
Message-ID:  <7mr7o07q1x.wl@black.imgsrc.co.jp>

next in thread | raw e-mail | index | archive | help

Hi again, :-)

More dependency reducing here:


Index: p5-WWW-Mechanize/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/p5-WWW-Mechanize/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- p5-WWW-Mechanize/Makefile	12 Oct 2004 10:26:15 -0000	1.10
+++ p5-WWW-Mechanize/Makefile	15 Oct 2004 00:57:12 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	WWW-Mechanize
 PORTVERSION=	1.04
+PORTREVISION=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	WWW
@@ -16,9 +17,7 @@
 COMMENT=	This module is to help you automate interaction with a website
 
 BUILD_DEPENDS=	${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
-		${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL \
-		${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
-		${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
+	${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
@@ -31,7 +30,9 @@
 .include <bsd.port.pre.mk>
 
 .if ${PERL_LEVEL} < 500800
-BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+BUILD_DEPENDS+=	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
+		${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
+		${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
 .if ${PERL_LEVEL} < 500601
 BUILD_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
 
Index: p5-WWW-Mechanize-FormFiller/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/p5-WWW-Mechanize-FormFiller/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- p5-WWW-Mechanize-FormFiller/Makefile	9 Jul 2004 12:35:03 -0000	1.2
+++ p5-WWW-Mechanize-FormFiller/Makefile	15 Oct 2004 00:58:26 -0000
@@ -5,6 +5,7 @@
 
 PORTNAME=	WWW-Mechanize-FormFiller
 PORTVERSION=	0.05
+PORTREVISION=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	WWW
@@ -14,8 +15,7 @@
 COMMENT=	Perl framework to automate HTML forms
 
 BUILD_DEPENDS=	${SITE_PERL}/Data/Random.pm:${PORTSDIR}/devel/p5-Data-Random \
-		${SITE_PERL}/HTML/Form.pm:${PORTSDIR}/www/p5-libwww \
-		${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+		${SITE_PERL}/HTML/Form.pm:${PORTSDIR}/www/p5-libwww
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
@@ -49,6 +49,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
 post-patch:
 .for _patch in ${FIX_USE_WARN}
 	${MV}	${WRKSRC}/${_patch} ${WRKSRC}/${_patch}.orig
Index: p5-WWW-Mechanize-Shell/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/p5-WWW-Mechanize-Shell/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- p5-WWW-Mechanize-Shell/Makefile	9 Jul 2004 08:51:40 -0000	1.1
+++ p5-WWW-Mechanize-Shell/Makefile	15 Oct 2004 00:54:36 -0000
@@ -5,6 +5,7 @@
 
 PORTNAME=	WWW-Mechanize-Shell
 PORTVERSION=	0.34
+PORTREVISION=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	WWW
@@ -15,7 +16,6 @@
 
 BUILD_DEPENDS=	${SITE_PERL}/URI/URL.pm:${PORTSDIR}/net/p5-URI \
 		${SITE_PERL}/Term/Shell.pm:${PORTSDIR}/devel/p5-Term-Shell \
-		${SITE_PERL}/Test/Harness.pm:${PORTSDIR}/devel/p5-Test-Harness \
 		${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
 		${SITE_PERL}/WWW/Mechanize.pm:${PORTSDIR}/www/p5-WWW-Mechanize \
 		${SITE_PERL}/WWW/Mechanize/FormFiller.pm:${PORTSDIR}/www/p5-WWW-Mechanize-FormFiller \
@@ -48,5 +48,8 @@
 .if ${PERL_LEVEL} < 500601
 IGNORE=		This port only support perl 5.6.1 or above
 .endif
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+=	${SITE_PERL}/Test/Harness.pm:${PORTSDIR}/devel/p5-Test-Harness
+.endif
 
 .include <bsd.port.post.mk>


-- 
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project



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