summaryrefslogtreecommitdiff
path: root/devel/p5-Class-Container/Makefile
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 /devel/p5-Class-Container/Makefile
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 'devel/p5-Class-Container/Makefile')
-rw-r--r--devel/p5-Class-Container/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/devel/p5-Class-Container/Makefile b/devel/p5-Class-Container/Makefile
index eb32feabc82..da8c887b226 100644
--- a/devel/p5-Class-Container/Makefile
+++ b/devel/p5-Class-Container/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/02/23 16:58:18 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2005/02/24 22:38:41 jlam Exp $
DISTNAME= Class-Container-0.12
PKGNAME= p5-${DISTNAME}
@@ -15,10 +15,9 @@ DEPENDS+= p5-Scalar-List-Utils-[0-9]*:../../devel/p5-Scalar-List-Utils
PKG_INSTALLATION_TYPES= overwrite pkgviews
-USE_BUILDLINK3= YES
-PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Class/Container/.packlist
-# doesn't give us a packlist yet, so disabled for now
-#PERL5_USES_MODULE_BUILD= YES
+USE_BUILDLINK3= yes
+PERL5_MODULE_TYPE= Module::Build
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Class/Container/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"