diff options
author | leeym <leeym@FreeBSD.org> | 2008-10-03 08:47:57 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2008-10-03 08:47:57 +0800 |
commit | 2de638cbac03b15ada81e5c71bd9f3666f1561da (patch) | |
tree | 2d7f98878c0496b0b70f7b6b7720820107eee8bb /www | |
parent | fc46d2af0cdd0e4825f5cab8d3cc53d093f17ff7 (diff) | |
download | freebsd-ports-graphics-2de638cbac03b15ada81e5c71bd9f3666f1561da.tar.gz freebsd-ports-graphics-2de638cbac03b15ada81e5c71bd9f3666f1561da.tar.zst freebsd-ports-graphics-2de638cbac03b15ada81e5c71bd9f3666f1561da.zip |
- simplify dependencies
- bump PORTREVISION
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-libwww/Makefile | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/www/p5-libwww/Makefile b/www/p5-libwww/Makefile index 1a64008c8d3..3f383c27f0a 100644 --- a/www/p5-libwww/Makefile +++ b/www/p5-libwww/Makefile @@ -7,6 +7,7 @@ PORTNAME= libwww PORTVERSION= 5.816 +PORTREVISION= 1 CATEGORIES= www perl5 devel MASTER_SITES= CPAN MASTER_SITE_SUBDIR= LWP @@ -16,16 +17,11 @@ DISTNAME= libwww-perl-${PORTVERSION} MAINTAINER= perl@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}/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} +RUN_DEPENDS= p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \ + p5-URI>=0:${PORTSDIR}/net/p5-URI PERL_CONFIGURE= yes -CONFIGURE_ARGS+= --aliases +CONFIGURE_ARGS= --aliases MAN1= GET.1 HEAD.1 POST.1 lwp-download.1 lwp-mirror.1 lwp-request.1 lwp-rget.1 @@ -41,9 +37,16 @@ MAN3= Bundle::LWP.3 File::Listing.3 HTML::Form.3 HTTP::Config.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.pre.mk> -.include <bsd.port.mk> +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \ + p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64 \ + p5-Net>=2.58:${PORTSDIR}/net/p5-Net +.endif + +.if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-Compress-Zlib>=1.10:${PORTSDIR}/archivers/p5-Compress-Zlib +.endif + +.include <bsd.port.post.mk> |