diff options
author | seb <seb> | 2005-01-07 22:29:59 +0000 |
---|---|---|
committer | seb <seb> | 2005-01-07 22:29:59 +0000 |
commit | 6a90ed647fad26858c16d0b15352a52786f4fc67 (patch) | |
tree | e97401ae1d003ee192c456cb221e4a4ada40d290 /www | |
parent | a64c9b47671b93ea1fdabdbeb000948d7ba1409a (diff) | |
download | pkgsrc-6a90ed647fad26858c16d0b15352a52786f4fc67.tar.gz |
Add required dependency on devel/p5-Cache-Cache.
Drop apparently unneeded dependency on databases/p5-MLDBM.
Dependency on www/p5-libapreq is only required if HTML-Mason is
intended to be used with mod_perl and apache: add 'modperl' as a
bsd.options.mk framework option and include dependency on www/p5-libapreq
as needed. Also support apache13 or apache2.
The 'modperl' option is the default.
XXX ap2-perl install Apache::Filter perl module version 0.01 and
this module wants at least version 1.021. So I do not know if the
apache2/ap2-perl setup is really supported.
Bump PKGREVISION.
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-HTML-Mason/Makefile | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/www/p5-HTML-Mason/Makefile b/www/p5-HTML-Mason/Makefile index 78d6c5e741f..f66b42dd8a1 100644 --- a/www/p5-HTML-Mason/Makefile +++ b/www/p5-HTML-Mason/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.13 2004/12/20 11:31:13 grant Exp $ +# $NetBSD: Makefile,v 1.14 2005/01/07 22:29:59 seb Exp $ DISTNAME= HTML-Mason-1.28 PKGNAME= p5-${DISTNAME} +PKGREVISION= 2 SVR4_PKGNAME= p5hma -PKGREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/} @@ -11,14 +11,34 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://www.masonhq.com/ COMMENT= Perl-based web site development and delivery system -DEPENDS+= p5-MLDBM>=2.0:../../databases/p5-MLDBM +DEPENDS+= p5-Cache-Cache>=1.0:../../devel/p5-Cache-Cache DEPENDS+= p5-Params-Validate>=0.04:../../devel/p5-Params-Validate DEPENDS+= p5-Exception-Class>=1.14:../../devel/p5-Exception-Class DEPENDS+= p5-Class-Container>=0.10:../../devel/p5-Class-Container -DEPENDS+= p5-libapreq>=0.32:../../www/p5-libapreq USE_BUILDLINK3= YES PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/HTML/Mason/.packlist +# In case apache.mk is included below which will result in USE_PERL5 +# being set to 'build' explicitly set it to 'run' here. +USE_PERL5= run + +PKG_OPTIONS_VAR= PKG_OPTIONS.p5-HTML-Mason +PKG_SUPPORTED_OPTIONS= modperl +PKG_DEFAULT_OPTIONS+= modperl + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mmodperl) +. include "../../mk/apache.mk" +. if ${PKG_APACHE} == "apache13" +DEPENDS+= p5-libapreq>=0.32:../../www/p5-libapreq +.include "../../www/ap-perl/buildlink3.mk" +. elif ${PKG_APACHE} == "apache2" +DEPENDS+= p5-libapreq2-[0-9]*:../../www/p5-libapreq2 +.include "../../www/ap2-perl/buildlink3.mk" +. endif +.endif + .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" |