aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-07-21 02:30:13 +0800
committerijliao <ijliao@FreeBSD.org>2002-07-21 02:30:13 +0800
commit297bff7d977256ab1ad6d8312d47ce868cc5645e (patch)
tree7f44757cc0d9831fde601c736eaf1761e84cff21
parented476b74b776ceade3497ecd53792d083e153490 (diff)
downloadfreebsd-ports-gnome-297bff7d977256ab1ad6d8312d47ce868cc5645e.tar.gz
freebsd-ports-gnome-297bff7d977256ab1ad6d8312d47ce868cc5645e.tar.zst
freebsd-ports-gnome-297bff7d977256ab1ad6d8312d47ce868cc5645e.zip
- update to 1.20
- add WWW - assume maintainership PR: 40785 Submitted by: Erwin Lansing <erwin@lansing.dk>
-rw-r--r--net/p5-URI/Makefile10
-rw-r--r--net/p5-URI/distinfo2
-rw-r--r--net/p5-URI/pkg-descr23
-rw-r--r--net/p5-URI/pkg-plist6
4 files changed, 15 insertions, 26 deletions
diff --git a/net/p5-URI/Makefile b/net/p5-URI/Makefile
index e0c68815d7fd..fb5ede0253a4 100644
--- a/net/p5-URI/Makefile
+++ b/net/p5-URI/Makefile
@@ -6,15 +6,15 @@
#
PORTNAME= URI
-PORTVERSION= 1.19
+PORTVERSION= 1.20
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= URI
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= erwin@lansing.dk
-BUILD_DEPENDS= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
PERL_CONFIGURE= yes
@@ -28,4 +28,8 @@ MAN3= URI.3 \
URI::file.3 \
URI::ldap.3
+post-patch:
+ ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);/' \
+ ${WRKSRC}/URI/urn.pm
+
.include <bsd.port.mk>
diff --git a/net/p5-URI/distinfo b/net/p5-URI/distinfo
index 6009639db53c..d6c067fe9825 100644
--- a/net/p5-URI/distinfo
+++ b/net/p5-URI/distinfo
@@ -1 +1 @@
-MD5 (URI-1.19.tar.gz) = d07561eec7cf311a8bf18dfe79ecac66
+MD5 (URI-1.20.tar.gz) = 2b895786ff9166f91305de07ec327fef
diff --git a/net/p5-URI/pkg-descr b/net/p5-URI/pkg-descr
index d53ccbc27eb3..2e851b5de093 100644
--- a/net/p5-URI/pkg-descr
+++ b/net/p5-URI/pkg-descr
@@ -11,25 +11,4 @@ with libwww-perl. This package contains an emulation of the old
URI::URL interface. The emulated URI::URL implements both the old and
the new interface.
-Some tests require an Internet connection to work and are skipped
-if one is not active.
-
-You need perl5.004 or better to install this package. You should also
-have the MIME::Base64 module installed. Installation is otherwise as
-usual:
-
- perl Makefile.PL
- make
- make test
- make install
-
-Questions about how to use this library should be directed to the
-comp.lang.perl.modules USENET Newsgroup. Bug reports and suggestions
-for improvements can be sent to the <libwww-perl@ics.uci.edu> mailing
-list.
-
-Copyright 1998-1999 Gisle Aas.
-Copyright 1998 Graham Barr.
-
-This library is free software; you can redistribute it and/or
-modify it under the same terms as Perl itself.
+WWW: http://search.cpan.org/search?dist=URI
diff --git a/net/p5-URI/pkg-plist b/net/p5-URI/pkg-plist
index 6e7b7f6c0e34..02a476d07928 100644
--- a/net/p5-URI/pkg-plist
+++ b/net/p5-URI/pkg-plist
@@ -30,10 +30,16 @@ lib/perl5/site_perl/%%PERL_VER%%/URI/nntp.pm
lib/perl5/site_perl/%%PERL_VER%%/URI/pop.pm
lib/perl5/site_perl/%%PERL_VER%%/URI/rlogin.pm
lib/perl5/site_perl/%%PERL_VER%%/URI/rsync.pm
+lib/perl5/site_perl/%%PERL_VER%%/URI/rtsp.pm
+lib/perl5/site_perl/%%PERL_VER%%/URI/rtspu.pm
lib/perl5/site_perl/%%PERL_VER%%/URI/snews.pm
lib/perl5/site_perl/%%PERL_VER%%/URI/ssh.pm
lib/perl5/site_perl/%%PERL_VER%%/URI/telnet.pm
+lib/perl5/site_perl/%%PERL_VER%%/URI/urn.pm
+lib/perl5/site_perl/%%PERL_VER%%/URI/urn/isbn.pm
+lib/perl5/site_perl/%%PERL_VER%%/URI/urn/oid.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/URI/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/URI
@dirrm lib/perl5/site_perl/%%PERL_VER%%/URI/file
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/URI/urn
@dirrm lib/perl5/site_perl/%%PERL_VER%%/URI