From 80cd491d11f1ad41f20c2b5d0b5c36acc14a3c61 Mon Sep 17 00:00:00 2001 From: schmonz Date: Sun, 27 Jan 2013 20:42:16 +0000 Subject: 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. --- devel/p5-FindBin-libs/DESCR | 16 ++++++++++++++++ devel/p5-FindBin-libs/Makefile | 18 ++++++++++++++++++ devel/p5-FindBin-libs/distinfo | 6 ++++++ devel/p5-FindBin-libs/patches/patch-META.yml | 15 +++++++++++++++ 4 files changed, 55 insertions(+) create mode 100644 devel/p5-FindBin-libs/DESCR create mode 100644 devel/p5-FindBin-libs/Makefile create mode 100644 devel/p5-FindBin-libs/distinfo create mode 100644 devel/p5-FindBin-libs/patches/patch-META.yml (limited to 'devel') 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