diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-02-20 14:39:56 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-02-20 14:39:56 +0000 |
commit | ce3834d26ee8f3f717eec69fb0ff24b44ae205af (patch) | |
tree | 0f4bacd7659ad617a0c50049d62d8dfffe840be6 /www/p5-HTTP-WebTest | |
parent | d689973a87e16003cc0a6c3c5acc76e4a03eff87 (diff) | |
download | ports-ce3834d26ee8f3f717eec69fb0ff24b44ae205af.tar.gz ports-ce3834d26ee8f3f717eec69fb0ff24b44ae205af.zip |
Notes
Diffstat (limited to 'www/p5-HTTP-WebTest')
-rw-r--r-- | www/p5-HTTP-WebTest/Makefile | 28 | ||||
-rw-r--r-- | www/p5-HTTP-WebTest/distinfo | 3 | ||||
-rw-r--r-- | www/p5-HTTP-WebTest/pkg-plist | 12 |
3 files changed, 26 insertions, 17 deletions
diff --git a/www/p5-HTTP-WebTest/Makefile b/www/p5-HTTP-WebTest/Makefile index 4682d33ad2c2..d6f8667596fb 100644 --- a/www/p5-HTTP-WebTest/Makefile +++ b/www/p5-HTTP-WebTest/Makefile @@ -6,8 +6,7 @@ # PORTNAME= HTTP-WebTest -PORTVERSION= 2.03 -PORTREVISION= 1 +PORTVERSION= 2.04 CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= HTTP @@ -16,20 +15,14 @@ PKGNAMEPREFIX= p5- MAINTAINER= kuriyama@FreeBSD.org COMMENT= Tests remote URLs or local web files -BUILD_DEPENDS= \ +BUILD_DEPENDS= ${BUILD_DEPENDS_56} \ ${SITE_PERL}/Algorithm/Diff.pm:${PORTSDIR}/devel/p5-Algorithm-Diff \ ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \ - ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ - ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \ - ${SITE_PERL}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced \ - ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \ - ${SITE_PERL}/Test/Builder.pm:${PORTSDIR}/devel/p5-Test-Simple \ ${SITE_PERL}/Test/Builder/Tester.pm:${PORTSDIR}/devel/p5-Test-Builder-Tester \ ${SITE_PERL}/Test/MockObject.pm:${PORTSDIR}/devel/p5-Test-MockObject \ - ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI -RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes +INSTALL_TARGET= pure_install MAN1= wt.1 MAN3= Bundle::HTTP::WebTest.3 \ @@ -54,4 +47,17 @@ MAN3= Bundle::HTTP::WebTest.3 \ HTTP::WebTest::Utils.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS_56= \ + ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ + ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \ + ${SITE_PERL}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced \ + ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \ + ${SITE_PERL}/Test/Builder.pm:${PORTSDIR}/devel/p5-Test-Simple \ + ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI +.endif +RUN_DEPENDS= ${BUILD_DEPENDS} + +.include <bsd.port.post.mk> diff --git a/www/p5-HTTP-WebTest/distinfo b/www/p5-HTTP-WebTest/distinfo index 794254abf9c4..01d2dd6442e5 100644 --- a/www/p5-HTTP-WebTest/distinfo +++ b/www/p5-HTTP-WebTest/distinfo @@ -1 +1,2 @@ -MD5 (HTTP-WebTest-2.03.tar.gz) = cc49ade2d6955fa20dd30b1f88862943 +MD5 (HTTP-WebTest-2.04.tar.gz) = 16bfb8e76bf301e788241d774cab7cee +SIZE (HTTP-WebTest-2.04.tar.gz) = 90381 diff --git a/www/p5-HTTP-WebTest/pkg-plist b/www/p5-HTTP-WebTest/pkg-plist index db9bad1a7711..5a0013667c94 100644 --- a/www/p5-HTTP-WebTest/pkg-plist +++ b/www/p5-HTTP-WebTest/pkg-plist @@ -27,8 +27,10 @@ bin/wt %%SITE_PERL%%/HTTP/WebTest/TestResult.pm %%SITE_PERL%%/HTTP/WebTest/Utils.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/WebTest/.packlist -@dirrm %%SITE_PERL%%/Bundle/HTTP -@dirrm %%SITE_PERL%%/HTTP/WebTest/Plugin -@dirrm %%SITE_PERL%%/HTTP/WebTest -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/WebTest -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP +@unexec rmdir %D/%%SITE_PERL%%/Bundle/HTTP 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Bundle 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/HTTP/WebTest/Plugin 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/HTTP/WebTest 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/HTTP 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%//%%PERL_ARCH%%/auto/HTTP/WebTest 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%//%%PERL_ARCH%%/auto/HTTP 2>/dev/null || true |