9f2ecd4f11
Module::ExtractUse is basically a Parse::RecDescent grammar to parse Perl code. It tries very hard to find all modules (whether pragmas, Core, or from CPAN) used by the parsed code. "Usage" is defined by either calling use or require.
28 lines
984 B
Makefile
28 lines
984 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2008/10/30 23:16:20 he Exp $
|
|
#
|
|
|
|
DISTNAME= Module-ExtractUse-0.23
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Module/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/Module-ExtractUse/
|
|
COMMENT= Perl 5 module to find out what modules are used
|
|
|
|
DEPENDS+= p5-Parse-RecDescent>=1.94:../../devel/p5-Parse-RecDescent
|
|
DEPENDS+= p5-Pod-Strip>=1.00:../../textproc/p5-Pod-Strip
|
|
|
|
BUILD_DEPENDS+= p5-Test-Deep>=0.087:../../devel/p5-Test-Deep
|
|
BUILD_DEPENDS+= p5-Test-NoWarnings>0:../../devel/p5-Test-NoWarnings
|
|
BUILD_DEPENDS+= p5-Test-Pod>0:../../devel/p5-Test-Pod
|
|
BUILD_DEPENDS+= p5-Test-Pod-Coverage>0:../../devel/p5-Test-Pod-Coverage
|
|
BUILD_DEPENDS+= p5-UNIVERSAL-require>0:../../devel/p5-UNIVERSAL-require
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
PERL5_PACKLIST= auto/Module/ExtractUse/.packlist
|
|
PERL5_MODULE_TYPE= Module::Build
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|