pkgsrc/devel/p5-Class-Container/Makefile
jlam cc44d0be98 * 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
2005-02-24 22:38:41 +00:00

23 lines
721 B
Makefile

# $NetBSD: Makefile,v 1.7 2005/02/24 22:38:41 jlam Exp $
DISTNAME= Class-Container-0.12
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5ccr
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Class/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Class-Container/
COMMENT= Glues object frameworks together transparently
DEPENDS+= p5-Params-Validate>=0.23:../../devel/p5-Params-Validate
DEPENDS+= p5-Scalar-List-Utils-[0-9]*:../../devel/p5-Scalar-List-Utils
PKG_INSTALLATION_TYPES= overwrite pkgviews
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"