pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Module-Build-Tiny Adding package for CPAN dis...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5981ce7d886b
branches:  trunk
changeset: 620877:5981ce7d886b
user:      sno <sno%pkgsrc.org@localhost>
date:      Wed Jul 03 07:13:42 2013 +0000

description:
Adding package for CPAN distribution Module-Build-Tiny version 0.024 into
devel/p5-Module-Build-Tiny.

Many Perl distributions use a Build.PL file instead of a Makefile.PL file to
drive distribution configuration, build, test and installation. Traditionally,
Build.PL uses Module::Build as the underlying build system. This module
provides a simple, lightweight, drop-in replacement.

Whereas Module::Build has over 6,700 lines of code; this module has less
than 120, yet supports the features needed by most distributions.

Supported
    * Pure Perl distributions
    * Building XS or C
    * Recursive test files
    * MYMETA
    * Man page generation
    * Generated code from PL files

Not Supported
    * Dynamic prerequisites
    * HTML documentation generation
    * Extending Module::Build::Tiny

Directory structure

Your .pm and .pod files must be in lib/. Any executables must be in script/.
Test files must be in t/.

diffstat:

 devel/p5-Module-Build-Tiny/DESCR    |  25 +++++++++++++++++++++++++
 devel/p5-Module-Build-Tiny/Makefile |  25 +++++++++++++++++++++++++
 devel/p5-Module-Build-Tiny/distinfo |   5 +++++
 3 files changed, 55 insertions(+), 0 deletions(-)

diffs (67 lines):

diff -r f3ea6fe25295 -r 5981ce7d886b devel/p5-Module-Build-Tiny/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Module-Build-Tiny/DESCR  Wed Jul 03 07:13:42 2013 +0000
@@ -0,0 +1,25 @@
+Many Perl distributions use a Build.PL file instead of a Makefile.PL file to
+drive distribution configuration, build, test and installation. Traditionally,
+Build.PL uses Module::Build as the underlying build system. This module
+provides a simple, lightweight, drop-in replacement.
+
+Whereas Module::Build has over 6,700 lines of code; this module has less
+than 120, yet supports the features needed by most distributions.
+
+Supported
+    * Pure Perl distributions
+    * Building XS or C
+    * Recursive test files
+    * MYMETA
+    * Man page generation
+    * Generated code from PL files
+
+Not Supported
+    * Dynamic prerequisites
+    * HTML documentation generation
+    * Extending Module::Build::Tiny
+
+Directory structure
+
+Your .pm and .pod files must be in lib/. Any executables must be in script/.
+Test files must be in t/.
diff -r f3ea6fe25295 -r 5981ce7d886b devel/p5-Module-Build-Tiny/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Module-Build-Tiny/Makefile       Wed Jul 03 07:13:42 2013 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2013/07/03 07:13:42 sno Exp $
+
+DISTNAME=      Module-Build-Tiny-0.024
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Module/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Module-Build-Tiny/
+COMMENT=       Build and install Perl modules
+LICENSE=       ${PERL5_LICENSE}
+
+DEPENDS+=      p5-ExtUtils-Config>=0.003:../../devel/p5-ExtUtils-Config
+DEPENDS+=      p5-ExtUtils-Helpers>=0.020:../../devel/p5-ExtUtils-Helpers
+DEPENDS+=      p5-ExtUtils-InstallPaths>=0.002:../../devel/p5-ExtUtils-InstallPaths
+
+USE_LANGUAGES= c       # For the tests
+#BUILDING_MODULE_BUILD=        yes
+PERL5_MODULE_TYPE=     Module::Build # it's a bundled Tiny - but we can lie
+PERL5_PACKLIST=                auto/Module/Build/Tiny/.packlist
+# For the tests:
+USE_TOOLS+=    perl
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f3ea6fe25295 -r 5981ce7d886b devel/p5-Module-Build-Tiny/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Module-Build-Tiny/distinfo       Wed Jul 03 07:13:42 2013 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/03 07:13:42 sno Exp $
+
+SHA1 (Module-Build-Tiny-0.024.tar.gz) = b1979cc6f202ec5e9f707df2e22231e70162dc63
+RMD160 (Module-Build-Tiny-0.024.tar.gz) = b3287cb4031027e54448df2546ea4f74e08e9130
+Size (Module-Build-Tiny-0.024.tar.gz) = 19286 bytes



Home | Main Index | Thread Index | Old Index