ports/devel/p5-Module-Path-More/Makefile
Po-Chuan Hsieh 2762e0bd1b
devel/p5-Module-Path-More: Add p5-Module-Path-More 0.340
Module::Path::More provides a function, module_path(), which will find where a
module (or module prefix, or .pod file) is installed locally. (There is also
another function pod_path() which is just a convenience wrapper.)

It works by looking in all the directories in @INC for an appropriately named
file. If module is Foo::Bar, will search for Foo/Bar.pm, Foo/Bar.pmc (if
find_pmc argument is true), Foo/Bar directory (if find_prefix argument is true),
or Foo/Bar.pod (if find_pod argument is true).
2024-09-05 14:11:17 +08:00

23 lines
509 B
Makefile

PORTNAME= Module-Path-More
PORTVERSION= 0.34.0
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
DISTNAME= Module-Path-More-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Get path to locally installed Perl module
WWW= https://metacpan.org/dist/Module-Path-More
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>