summaryrefslogtreecommitdiff
path: root/www/p5-MasonX-Request-WithApacheSession
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-02-24 22:38:41 +0000
committerjlam <jlam@pkgsrc.org>2005-02-24 22:38:41 +0000
commitcc44d0be98aabb64601c3d29f432f4c367d294a2 (patch)
treec96cdee8b1fc0edeb3e3d598eb735386e2aeae9c /www/p5-MasonX-Request-WithApacheSession
parent2fc640fd96763871e652242bb17a5d29baa4672a (diff)
downloadpkgsrc-cc44d0be98aabb64601c3d29f432f4c367d294a2.tar.gz
* Teach devel/p5-Module-Build to write .packlists just like MakeMaker.pm
does. This allows us to use dynamic PLISTs for Perl modules that are built using Module::Build. Bump the PKGREVISION of p5-Module-Build to 1. * Drop the use of PERL5_USES_MODULE_BUILD and introduce a new variable PERL5_MODULE_TYPE that is either "MakeMaker" or "Module::Build" that names the framework used to build/install the module. * Split out the variables set in perl5/buildlink3.mk that are also used by perl5/module.mk into a new file perl5/vars.mk. Move some PERL5_* variable definitions from pkgsrc/mk/bsd.pkg.use.mk into perl5/vars.mk. This just centralizes the common PERL5_* definitions into a single file location. * Convert the known packages that use Module::Build to set PERL5_MODULE_TYPE and PERL5_PACKLIST: devel/p5-Class-Container devel/p5-Exception-Class devel/p5-Log-Dispatch devel/p5-Array-Compare textproc/p5-Pod-Coverage www/p5-Apache-Session-Wrapper www/p5-MasonX-Request-WithApacheSession
Diffstat (limited to 'www/p5-MasonX-Request-WithApacheSession')
-rw-r--r--www/p5-MasonX-Request-WithApacheSession/Makefile10
-rw-r--r--www/p5-MasonX-Request-WithApacheSession/PLIST6
2 files changed, 5 insertions, 11 deletions
diff --git a/www/p5-MasonX-Request-WithApacheSession/Makefile b/www/p5-MasonX-Request-WithApacheSession/Makefile
index 7afa5b040d3..189d7bb48fb 100644
--- a/www/p5-MasonX-Request-WithApacheSession/Makefile
+++ b/www/p5-MasonX-Request-WithApacheSession/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/02/23 19:12:43 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2005/02/24 22:38:42 jlam Exp $
DISTNAME= MasonX-Request-WithApacheSession-0.30
PKGNAME= p5-${DISTNAME}
@@ -14,11 +14,9 @@ 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
-USE_BUILDLINK3= YES
-
-PLIST_SUBST+= INSTALLSITELIB=${PERL5_INSTALLSITELIB:S^${LOCALBASE}/^^}
-PLIST_SUBST+= INSTALLSITEMAN3DIR=${PERL5_INSTALLSITEMAN3DIR:S^${LOCALBASE}/^^}
-PERL5_USES_MODULE_BUILD= YES
+USE_BUILDLINK3= yes
+PERL5_MODULE_TYPE= Module::Build
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/MasonX/Request/WithApacheSession/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-MasonX-Request-WithApacheSession/PLIST b/www/p5-MasonX-Request-WithApacheSession/PLIST
index 36ecb7e75ae..b0fbd3ac777 100644
--- a/www/p5-MasonX-Request-WithApacheSession/PLIST
+++ b/www/p5-MasonX-Request-WithApacheSession/PLIST
@@ -1,5 +1 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/05 23:35:30 he Exp $
-${INSTALLSITELIB}/MasonX/Request/WithApacheSession.pm
-${INSTALLSITELIB}/MasonX/Request/WithMultiSession.pm
-${INSTALLSITEMAN3DIR}/MasonX::Request::WithApacheSession.3
-${INSTALLSITEMAN3DIR}/MasonX::Request::WithMultiSession.3
+@comment $NetBSD: PLIST,v 1.2 2005/02/24 22:38:42 jlam Exp $