aboutsummaryrefslogtreecommitdiff
path: root/www/p5-libwww
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2005-03-02 09:56:20 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2005-03-02 09:56:20 +0000
commit34df7b8264419099914dd4a8279cacfcc98184a3 (patch)
tree0084cd0daa05c1c0d547d2aa2e3e2c1c10f6d9e7 /www/p5-libwww
parent72f7a97404ae717408cbc438481c1fb0831471a4 (diff)
downloadports-34df7b8264419099914dd4a8279cacfcc98184a3.tar.gz
ports-34df7b8264419099914dd4a8279cacfcc98184a3.zip
Update to 5.803
PR: ports/77555 Submitted by: skv Approved by: maintainer timeout (2 weeks)
Notes
Notes: svn path=/head/; revision=130174
Diffstat (limited to 'www/p5-libwww')
-rw-r--r--www/p5-libwww/Makefile38
-rw-r--r--www/p5-libwww/distinfo4
-rw-r--r--www/p5-libwww/files/patch-Makefile.PL29
-rw-r--r--www/p5-libwww/pkg-descr24
-rw-r--r--www/p5-libwww/pkg-plist1
5 files changed, 30 insertions, 66 deletions
diff --git a/www/p5-libwww/Makefile b/www/p5-libwww/Makefile
index 9e872adf3ced..abfec0b8dc69 100644
--- a/www/p5-libwww/Makefile
+++ b/www/p5-libwww/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= p5-libwww
-PORTVERSION= 5.79
-PORTREVISION= 1
+PORTVERSION= 5.803
CATEGORIES= www perl5 devel
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= LWP
@@ -17,6 +16,10 @@ MAINTAINER= petef@FreeBSD.org
COMMENT= Perl5 library for WWW access
BUILD_DEPENDS= ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
+ ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
+ ${SITE_PERL}/Net/FTP.pm:${PORTSDIR}/net/p5-Net \
${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser
RUN_DEPENDS= ${BUILD_DEPENDS}
@@ -25,28 +28,19 @@ PERL_CONFIGURE= yes
MAN1= GET.1 HEAD.1 POST.1 lwp-download.1 lwp-mirror.1 lwp-request.1 lwp-rget.1
MAN3= Bundle::LWP.3 File::Listing.3 HTML::Form.3 HTTP::Cookies.3 \
- HTTP::Daemon.3 HTTP::Date.3 HTTP::Headers.3 HTTP::Headers::Util.3 \
- HTTP::Message.3 HTTP::Negotiate.3 HTTP::Request.3 \
- HTTP::Request::Common.3 HTTP::Response.3 HTTP::Status.3 LWP.3 \
- LWP::ConnCache.3 LWP::Debug.3 LWP::MediaTypes.3 LWP::MemberMixin.3 \
- LWP::Protocol.3 LWP::RobotUA.3 LWP::Simple.3 LWP::UserAgent.3 Net::HTTP.3 \
- Net::HTTP::NB.3 WWW::RobotRules.3 WWW::RobotRules::AnyDBM_File.3 \
- LWP::Authen::Ntlm.3 HTTP::Cookies::Microsoft.3 LWP::DebugFile.3 \
- HTTP::Cookies::Netscape.3 lwpcook.3 lwptut.3
-
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500804
-BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
- ${SITE_PERL}/Net/FTP.pm:${PORTSDIR}/net/p5-Net \
- ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
- ${SITE_PERL}/Net/FTP.pm:${PORTSDIR}/net/p5-Net \
- ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
-.endif
+ HTTP::Cookies::Microsoft.3 HTTP::Cookies::Netscape.3 \
+ HTTP::Daemon.3 HTTP::Date.3 HTTP::Headers.3 \
+ HTTP::Headers::Util.3 HTTP::Message.3 HTTP::Negotiate.3 \
+ HTTP::Request.3 HTTP::Request::Common.3 HTTP::Response.3 \
+ HTTP::Status.3 LWP.3 LWP::Authen::Ntlm.3 LWP::ConnCache.3 \
+ LWP::Debug.3 LWP::DebugFile.3 LWP::MediaTypes.3 \
+ LWP::MemberMixin.3 LWP::Protocol.3 LWP::RobotUA.3 LWP::Simple.3 \
+ LWP::UserAgent.3 Net::HTTP.3 Net::HTTP::NB.3 WWW::RobotRules.3 \
+ WWW::RobotRules::AnyDBM_File.3 lwpcook.3 lwptut.3
post-patch:
@${PERL} -pi -e "s,/usr/lib/sendmail,/usr/sbin/sendmail," \
${WRKSRC}/lib/LWP/Protocol/mailto.pm
+ @${PERL} -pi -e 's!(?=prompt\()!1 || !g' ${WRKSRC}/Makefile.PL
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/p5-libwww/distinfo b/www/p5-libwww/distinfo
index ecc2c899760d..a5d8d0fd2819 100644
--- a/www/p5-libwww/distinfo
+++ b/www/p5-libwww/distinfo
@@ -1,2 +1,2 @@
-MD5 (libwww-perl-5.79.tar.gz) = 6682a0a532bf0b2cf76259c94d0d8dc4
-SIZE (libwww-perl-5.79.tar.gz) = 224889
+MD5 (libwww-perl-5.803.tar.gz) = 3345d5f15a4f42350847254141725c8f
+SIZE (libwww-perl-5.803.tar.gz) = 234773
diff --git a/www/p5-libwww/files/patch-Makefile.PL b/www/p5-libwww/files/patch-Makefile.PL
deleted file mode 100644
index c4552e9473a5..000000000000
--- a/www/p5-libwww/files/patch-Makefile.PL
+++ /dev/null
@@ -1,29 +0,0 @@
---- Makefile.PL.orig Wed Apr 2 21:15:42 2003
-+++ Makefile.PL Wed Apr 2 21:16:00 2003
-@@ -57,7 +57,7 @@ support works as it should.
-
- EOT
-
-- if (prompt("Do you want to enable these tests?", "y") =~ /^y/i) {
-+ if (1 || prompt("Do you want to enable these tests?", "y") =~ /^y/i) {
- open(ENABLED, ">t/live/ENABLED") || die "Can't enable: $!";
- close(ENABLED);
-
-@@ -95,7 +95,7 @@ to install in $Config{sitebin}.
- EOT
- my @tmp;
- for (@programs_to_install) {
-- if (prompt("Do you want to install $_?", "y") =~ /^y/) {
-+ if (1 || prompt("Do you want to install $_?", "y") =~ /^y/) {
- push(@tmp, $_);
- }
- }
-@@ -126,7 +126,7 @@ EOT
- }
- close(PROG);
- }
-- if (prompt("Do you want to install the $alias alias?", $default) =~ /^y/) {
-+ if (1 || prompt("Do you want to install the $alias alias?", $default) =~ /^y/) {
- push(@tmp, $alias);
- }
- }
diff --git a/www/p5-libwww/pkg-descr b/www/p5-libwww/pkg-descr
index 18a0c090a6c6..28c1331a7169 100644
--- a/www/p5-libwww/pkg-descr
+++ b/www/p5-libwww/pkg-descr
@@ -1,16 +1,14 @@
- Libwww-perl is a collection of Perl modules which provides
- a simple and consistent programming interface (API) to the
- World-Wide Web. The main focus of the library is to
- provide classes and functions that allow you to write WWW
- clients, thus libwww-perl said to be a WWW client library.
- The library also contain modules that are of more general
- use.
+Libwww-perl is a collection of Perl modules which provides a simple and
+consistent programming interface (API) to the World-Wide Web. The main
+focus of the library is to provide classes and functions that allow you
+to write WWW clients, thus libwww-perl said to be a WWW client library.
+The library also contain modules that are of more general use.
- The main architecture of the library is object oriented.
- The user agent, requests sent and responses received from
- the WWW server are all represented by objects. This makes
- a simple and powerful interface to these services. The
- interface should be easy to extend and customize for your
- needs.
+The main architecture of the library is object oriented. The user
+agent, requests sent and responses received from the WWW server are all
+represented by objects. This makes a simple and powerful interface to
+these services. The interface should be easy to extend and customize
+for your needs.
+WWW: http://search.cpan.org/dist/p5-libwww/
WWW: http://www.linpro.no/lwp/
diff --git a/www/p5-libwww/pkg-plist b/www/p5-libwww/pkg-plist
index c9c4136d2d2d..c4f6f5c1912c 100644
--- a/www/p5-libwww/pkg-plist
+++ b/www/p5-libwww/pkg-plist
@@ -43,6 +43,7 @@ bin/lwp-rget
%%SITE_PERL%%/LWP/Protocol/http10.pm
%%SITE_PERL%%/LWP/Protocol/https.pm
%%SITE_PERL%%/LWP/Protocol/https10.pm
+%%SITE_PERL%%/LWP/Protocol/loopback.pm
%%SITE_PERL%%/LWP/Protocol/mailto.pm
%%SITE_PERL%%/LWP/Protocol/nntp.pm
%%SITE_PERL%%/LWP/Protocol/nogo.pm