1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

o Upgrade to 2.04 (PR).

o Remove dependency for perl-5.8.

PR:		ports/63126
Submitted by:	Alex Kapranoff <kappa@agava.com>
This commit is contained in:
Jun Kuriyama 2004-02-20 14:39:56 +00:00
parent d689973a87
commit ce3834d26e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101498
3 changed files with 26 additions and 17 deletions

View File

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

View File

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

View File

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