freebsd-ports/devel/p5-Module-Extract-Use/Makefile
Wen Heping 43af333ecc Extract the names of the modules used in a file using a static analysis.
Since this module does not run code, it cannot find dynamic uses of
modules, such as eval "require $class". It only reports modules that the
file loads directly. Modules loaded with parent or base, for instance,
will will be in the import list for those pragmas but won't have separate
entries in the data this module returns.

WWW: http://github.com/briandfoy/module-extract-use/tree/master

PR:		215745
Submitted by:	svysh.fbsd@gmail.com
2017-01-04 01:45:07 +00:00

26 lines
592 B
Makefile

# Created by: Sergei Vyshenski <svysh.fbsd@gmail.com>
# $FreeBSD$
PORTNAME= Module-Extract-Use
PORTVERSION= 1.04
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= svysh.fbsd@gmail.com
COMMENT= Pull out the modules a module explicitly uses
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Test-Output>0:devel/p5-Test-Output \
p5-PPI>0:textproc/p5-PPI
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Pod>0:devel/p5-Test-Pod \
p5-Test-Pod-Coverage>0:devel/p5-Test-Pod-Coverage
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>