pkgsrc/www/p5-MasonX-Request-WithApacheSession/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

24 lines
846 B
Makefile

# $NetBSD: Makefile,v 1.4 2004/12/20 11:31:14 grant Exp $
DISTNAME= MasonX-Request-WithApacheSession-0.30
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5mxa
PKGREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=MasonX/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/MasonX-Request-WithApacheSession/
COMMENT= Perl5 module adding a session to the Mason Request obj
DEPENDS+= p5-Apache-Session-Wrapper>=0.13:../../www/p5-Apache-Session-Wrapper
DEPENDS+= p5-HTML-Mason>=1.16:../../www/p5-HTML-Mason
BUILD_DEPENDS+= p5-Module-Build>=0.20:../../devel/p5-Module-Build
USE_BUILDLINK3= YES
PLIST_SUBST+= INSTALLSITELIB=${PERL5_INSTALLSITELIB:S^${LOCALBASE}/^^}
PLIST_SUBST+= INSTALLSITEMAN3DIR=${PERL5_INSTALLSITEMAN3DIR:S^${LOCALBASE}/^^}
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"