pkgsrc/www/p5-libwww/Makefile
grant 908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00

31 lines
1,017 B
Makefile

# $NetBSD: Makefile,v 1.38 2004/12/20 11:31:14 grant Exp $
# FreeBSD Id: Makefile,v 1.12 1997/09/14 04:00:11 jfitz Exp
#
DISTNAME= libwww-perl-5.76
PKGNAME= p5-${DISTNAME:S/-perl-/-/}
PKGREVISION= 2
SVR4_PKGNAME= p5lww
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=WWW/}
MAINTAINER= shell@NetBSD.org
HOMEPAGE= http://www.linpro.no/lwp/
COMMENT= Perl5 library for WWW access
DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
DEPENDS+= p5-Net>=1.09:../../net/p5-Net # for Net::FTP>=2.58
DEPENDS+= p5-HTML-Parser>=3.33:../../www/p5-HTML-Parser
DEPENDS+= p5-URI>=1.10:../../www/p5-URI
DEPENDS+= p5-Compress-Zlib-[0-9]*:../../devel/p5-Compress-Zlib
DEPENDS+= p5-IO-Socket-SSL-[0-9]*:../../security/p5-IO-Socket-SSL
DEPENDS+= p5-MIME-Base64>=2.1:../../converters/p5-MIME-Base64
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/libwww-perl/.packlist
MAKE_PARAMS= -n
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"