pkgsrc/devel/p5-Log-Dispatch/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

21 lines
664 B
Makefile

# $NetBSD: Makefile,v 1.13 2005/02/24 22:38:41 jlam Exp $
DISTNAME= Log-Dispatch-2.10
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5ldi
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Log/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://search.cpan.org/~drolsky/Log-Dispatch/
COMMENT= Perl module for logging messages to multiple outputs
DEPENDS+= p5-Params-Validate>=0.15:../../devel/p5-Params-Validate
DEPENDS+= p5-Test-Simple>=0.17:../../devel/p5-Test-Simple
USE_BUILDLINK3= yes
PERL5_MODULE_TYPE= Module::Build
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Log/Dispatch/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"