Import of pkgsrc-2014Q1
This commit is contained in:
15
filesystems/p5-Module-Path/DESCR
Normal file
15
filesystems/p5-Module-Path/DESCR
Normal file
@@ -0,0 +1,15 @@
|
||||
Module::Path provides a single function, module_path(), which will find
|
||||
where a module is installed locally.
|
||||
|
||||
It works by looking in all the directories in @INC for an appropriately
|
||||
named file:
|
||||
|
||||
* Foo::Bar becomes Foo/Bar.pm, using the correct directory path
|
||||
separator for your operating system.
|
||||
* Iterate over @INC, ignoring any references (see "require" in
|
||||
"perlfunc" if you're surprised to hear that you might find references
|
||||
in @INC).
|
||||
* For each directory in @INC, append the partial path (Foo/Bar.pm),
|
||||
again using the correct directory path separator. If the resulting
|
||||
file exists, return this path.
|
||||
* If no file was found, return undef.
|
||||
23
filesystems/p5-Module-Path/Makefile
Normal file
23
filesystems/p5-Module-Path/Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
# $NetBSD: Makefile,v 1.1 2013/07/03 15:06:36 sno Exp $
|
||||
#
|
||||
|
||||
DISTNAME= Module-Path-0.09
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Module/}
|
||||
|
||||
MAINTAINER= pkgsrc-p5-people@NetBSD.org
|
||||
HOMEPAGE= http://search.cpan.org/dist/Module-Path/
|
||||
COMMENT= Perl5 module to get the full path to a locally installed module
|
||||
LICENSE= ${PERL5_LICENSE}
|
||||
|
||||
REPLACE_PERL+= bin/mpath
|
||||
|
||||
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
||||
|
||||
PERL5_PACKLIST= auto/Module/Path/.packlist
|
||||
|
||||
BUILD_DEPENDS+= p5-Devel-FindPerl-[0-9]*:../../devel/p5-Devel-FindPerl
|
||||
|
||||
.include "../../lang/perl5/module.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
5
filesystems/p5-Module-Path/distinfo
Normal file
5
filesystems/p5-Module-Path/distinfo
Normal file
@@ -0,0 +1,5 @@
|
||||
$NetBSD: distinfo,v 1.1 2013/07/03 15:06:36 sno Exp $
|
||||
|
||||
SHA1 (Module-Path-0.09.tar.gz) = 860723625e9d90b7b17857920d5b1046976d97f1
|
||||
RMD160 (Module-Path-0.09.tar.gz) = f643de4b9fd0b389cf231fefa7188da5785aa690
|
||||
Size (Module-Path-0.09.tar.gz) = 11423 bytes
|
||||
Reference in New Issue
Block a user