summaryrefslogtreecommitdiff
path: root/devel/p5-Module-Build
diff options
context:
space:
mode:
authorsno <sno>2009-03-01 21:47:22 +0000
committersno <sno>2009-03-01 21:47:22 +0000
commit3047f10debf6dd022d98fed4b9b5c69de3a7f04c (patch)
tree92cf2c3d88f071ea044402c3d6e26ff844b298d3 /devel/p5-Module-Build
parentc19ea0bbced3018b6377fc7853f9341d6c754995 (diff)
downloadpkgsrc-3047f10debf6dd022d98fed4b9b5c69de3a7f04c.tar.gz
pkgsrc changes:
- update to module version 0.32 - introduce options to choose recommented dependencies - make previous dependencies and other useful default Upstream changes: 0.32 - Wed Feb 25 17:40:02 PST 2009 No changes since 0.31_04. 0.31_04 - Fri Feb 20 11:04:59 PST 2009 Other - Bumped Test::Harness prereq to 3.16 for latest PERL5LIB fixes (solves test failures when installing Module::Build using CPANPLUS::Dist::Build) [David Golden] 0.31_03 - Sun Feb 8 14:54:01 PST 2009 Enhancements - added a "prereq_data" action that prints a Perl data structure of all prerequisites; can be loaded by external tools using eval() [David Golden] Bug-fixes - 'fakeinstall' action warns and skips without ExtUtils::Install 1.32+ [David Golden, reported by Zefram] - allows Module::Build version mismatch when installing self; works around limitations in CPANPLUS::Dist::Build [David Golden] 0.31_02 - Tue Jan 27 09:16:43 PST 2009 Other - tests now use File::Temp (added to build_requires); appears to fix Win32 testing heisenbug on directory removal during high system loads - use_tap_harness.t will skip unless a release version of TAP::Harness is installed - improved diagnostics to ensure_blib() tests in t/lib/MBTest.pm Compat - passthrough Makefile.PL will now play nice with cpantesters' on exit(0) (RT#32018) [Eric Wilhelm] Bug Fixes - fix for doubling-up of --prefix (RT#19951)
Diffstat (limited to 'devel/p5-Module-Build')
-rw-r--r--devel/p5-Module-Build/Makefile11
-rw-r--r--devel/p5-Module-Build/distinfo8
-rw-r--r--devel/p5-Module-Build/options.mk36
3 files changed, 44 insertions, 11 deletions
diff --git a/devel/p5-Module-Build/Makefile b/devel/p5-Module-Build/Makefile
index ffb3f163386..6dc471ea523 100644
--- a/devel/p5-Module-Build/Makefile
+++ b/devel/p5-Module-Build/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2009/01/20 23:39:46 he Exp $
+# $NetBSD: Makefile,v 1.20 2009/03/01 21:47:22 sno Exp $
-DISTNAME= Module-Build-0.31012
-PKGNAME= p5-${DISTNAME}
+DISTNAME= Module-Build-0.32
+PKGNAME= p5-${DISTNAME}000
SVR4_PKGNAME= p5mob
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Module/}
@@ -12,10 +12,7 @@ COMMENT= Build and install Perl modules
PKG_DESTDIR_SUPPORT= user-destdir
-DEPENDS+= p5-YAML-[0-9]*:../../textproc/p5-YAML
-DEPENDS+= p5-ExtUtils-CBuilder-[0-9]*:../../devel/p5-ExtUtils-CBuilder
-DEPENDS+= {perl>=5.10,p5-ExtUtils-ParseXS>=1.02}:../../devel/p5-ExtUtils-ParseXS
-DEPENDS+= {perl>=5.10,p5-Archive-Tar>=1.08}:../../archivers/p5-Archive-Tar
+.include "options.mk"
USE_LANGUAGES= c # For the tests
BUILDING_MODULE_BUILD= yes
diff --git a/devel/p5-Module-Build/distinfo b/devel/p5-Module-Build/distinfo
index d4b7716cb63..cfa311cee6c 100644
--- a/devel/p5-Module-Build/distinfo
+++ b/devel/p5-Module-Build/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2009/01/20 23:39:46 he Exp $
+$NetBSD: distinfo,v 1.13 2009/03/01 21:47:22 sno Exp $
-SHA1 (Module-Build-0.31012.tar.gz) = b3ecd98de96413a0795e0aeecffac58995d7cf7c
-RMD160 (Module-Build-0.31012.tar.gz) = d4eb2c802666b04947ad577a70094008857e53c0
-Size (Module-Build-0.31012.tar.gz) = 205507 bytes
+SHA1 (Module-Build-0.32.tar.gz) = b489a1dc5547f14166d0cf4c8f974a3e152aa76c
+RMD160 (Module-Build-0.32.tar.gz) = 72e4dd9bf4a136f21c18d3ac9209d4f13038a8b4
+Size (Module-Build-0.32.tar.gz) = 207293 bytes
diff --git a/devel/p5-Module-Build/options.mk b/devel/p5-Module-Build/options.mk
new file mode 100644
index 00000000000..095a5e91c6a
--- /dev/null
+++ b/devel/p5-Module-Build/options.mk
@@ -0,0 +1,36 @@
+# $NetBSD: options.mk,v 1.1 2009/03/01 21:47:22 sno Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.p5-Module-Build
+
+PKG_SUPPORTED_OPTIONS= archive-tar module-signature pod-readme
+PKG_SUPPORTED_OPTIONS+= extutils-parsexs extutils-cbuilder extutils-install
+PKG_SUPPORTED_OPTIONS+= yaml version
+PKG_SUGGESTED_OPTIONS= archive-tar extutils-cbuilder extutils-parsexs
+PKG_SUGGESTED_OPTIONS+= pod-readme yaml version
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Marchive-tar)
+DEPENDS+= {perl>=5.10,p5-Archive-Tar>=1.08}:../../archivers/p5-Archive-Tar
+.endif
+.if !empty(PKG_OPTIONS:Myaml)
+BUILD_DEPENDS+= p5-YAML>=0.50:../../textproc/p5-YAML
+.endif
+.if !empty(PKG_OPTIONS:Mmodule-signature)
+DEPENDS+= p5-Module-Signature>=0.55:../../security/p5-Module-Signature
+.endif
+.if !empty(PKG_OPTIONS:Mextutils-parsexs)
+DEPENDS+= {perl>=5.10,p5-ExtUtils-ParseXS>=1.02}:../../devel/p5-ExtUtils-ParseXS
+.endif
+.if !empty(PKG_OPTIONS:Mextutils-cbuilder)
+DEPENDS+= p5-ExtUtils-CBuilder>=0.15:../../devel/p5-ExtUtils-CBuilder
+.endif
+.if !empty(PKG_OPTIONS:Mextutils-install)
+DEPENDS+= p5-ExtUtils-Install>=0.30:../../devel/p5-ExtUtils-Install
+.endif
+.if !empty(PKG_OPTIONS:Mpod-readme)
+DEPENDS+= p5-Pod-Readme>=0.04:../../textproc/p5-Pod-Readme
+.endif
+.if !empty(PKG_OPTIONS:Mversion)
+DEPENDS+= p5-version>=0.74:../../devel/p5-version
+.endif