summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2013-01-27 20:42:16 +0000
committerschmonz <schmonz@pkgsrc.org>2013-01-27 20:42:16 +0000
commita84b0a5a2e9fa1c5c4609f78cc60ca8b643c091f (patch)
treef52cca61384037ad7a176c4b98f822ff36089769 /devel
parent34ea413b340f51ddbfe351c35e3ab367cc5bca5f (diff)
downloadpkgsrc-a84b0a5a2e9fa1c5c4609f78cc60ca8b643c091f.tar.gz
Add p5-FindBin-libs:
An all-too-common occurrance managing perly projects is being unable to install new modules becuse "it might break things", and being unable to test them because you can't install them. The usual outcome of this is a collection of hard-coded use lib qw( /usr/local/projectX ... ) code at the top of each #! file that has to be updated by hand for each new project. To get away from this you'll often see relative paths for the lib's, which require running the code from one specific place. All this does is push the hard-coding into cron, shell wrappers, and begin blocks. With FindBin::libs you need suffer no more.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-FindBin-libs/DESCR16
-rw-r--r--devel/p5-FindBin-libs/Makefile18
-rw-r--r--devel/p5-FindBin-libs/distinfo6
-rw-r--r--devel/p5-FindBin-libs/patches/patch-META.yml15
4 files changed, 55 insertions, 0 deletions
diff --git a/devel/p5-FindBin-libs/DESCR b/devel/p5-FindBin-libs/DESCR
new file mode 100644
index 00000000000..69581393f8e
--- /dev/null
+++ b/devel/p5-FindBin-libs/DESCR
@@ -0,0 +1,16 @@
+An all-too-common occurrance managing perly projects is being unable
+to install new modules becuse "it might break things", and being
+unable to test them because you can't install them. The usual outcome
+of this is a collection of hard-coded
+
+ use lib qw( /usr/local/projectX ... )
+
+code at the top of each #! file that has to be updated by hand for
+each new project.
+
+To get away from this you'll often see relative paths for the lib's,
+which require running the code from one specific place. All this
+does is push the hard-coding into cron, shell wrappers, and begin
+blocks.
+
+With FindBin::libs you need suffer no more.
diff --git a/devel/p5-FindBin-libs/Makefile b/devel/p5-FindBin-libs/Makefile
new file mode 100644
index 00000000000..8e377fcb528
--- /dev/null
+++ b/devel/p5-FindBin-libs/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2013/01/27 20:42:16 schmonz Exp $
+#
+
+DISTNAME= FindBin-libs-1.65.1
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=FindBin/}
+
+MAINTAINER= schmonz@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/FindBin-libs/
+COMMENT= Locate and a 'use lib' or export directories based on FindBin::Bin
+LICENSE= ${PERL5_LICENSE}
+
+PERL5_MODULE_TYPE= Module::Build
+PERL5_PACKLIST= auto/FindBin/libs/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-FindBin-libs/distinfo b/devel/p5-FindBin-libs/distinfo
new file mode 100644
index 00000000000..637dd97ed91
--- /dev/null
+++ b/devel/p5-FindBin-libs/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2013/01/27 20:42:16 schmonz Exp $
+
+SHA1 (FindBin-libs-1.65.1.tar.gz) = 4781c1248951f37e7dc05a44ac33f2a592089ca6
+RMD160 (FindBin-libs-1.65.1.tar.gz) = 9a3e4712c3a6ad089181a7dd0f499fa3cfa18690
+Size (FindBin-libs-1.65.1.tar.gz) = 20723 bytes
+SHA1 (patch-META.yml) = db4bb41056f8a3254e6cb98672dd7f08cd2c85c7
diff --git a/devel/p5-FindBin-libs/patches/patch-META.yml b/devel/p5-FindBin-libs/patches/patch-META.yml
new file mode 100644
index 00000000000..cb9d1ba0f21
--- /dev/null
+++ b/devel/p5-FindBin-libs/patches/patch-META.yml
@@ -0,0 +1,15 @@
+$NetBSD: patch-META.yml,v 1.1 2013/01/27 20:42:16 schmonz Exp $
+
+Doesn't actually require a yak-shavingly new Module::Build.
+
+--- META.yml.orig 2012-12-23 05:51:38.000000000 +0000
++++ META.yml
+@@ -4,7 +4,7 @@ author:
+ - 'Steven Lembark <lembark@wrkhors.com'
+ build_requires: {}
+ configure_requires:
+- Module::Build: 0.4003
++ Module::Build: 0.3901
+ dynamic_config: 1
+ generated_by: 'Module::Build version 0.4003, CPAN::Meta::Converter version 2.120921'
+ license: perl