summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/p5-MooseX-App-Cmd/DESCR6
-rw-r--r--devel/p5-MooseX-App-Cmd/Makefile28
-rw-r--r--devel/p5-MooseX-App-Cmd/distinfo5
3 files changed, 39 insertions, 0 deletions
diff --git a/devel/p5-MooseX-App-Cmd/DESCR b/devel/p5-MooseX-App-Cmd/DESCR
new file mode 100644
index 00000000000..aaaa0f9b86d
--- /dev/null
+++ b/devel/p5-MooseX-App-Cmd/DESCR
@@ -0,0 +1,6 @@
+The Perl 5 module MooseX::App::Cmd marries App::Cmd with MooseX::Getopt.
+Use it like App::Cmd advises (especially see App::Cmd::Tutorial),
+swapping App::Cmd::Command for MooseX::App::Cmd::Command.
+Then you can write your moose commands as moose classes, with
+MooseX::Getopt defining the options for you instead of opt_spec
+returning a Getopt::Long::Descriptive spec.
diff --git a/devel/p5-MooseX-App-Cmd/Makefile b/devel/p5-MooseX-App-Cmd/Makefile
new file mode 100644
index 00000000000..26d6e956aaa
--- /dev/null
+++ b/devel/p5-MooseX-App-Cmd/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/21 01:56:16 seb Exp $
+#
+
+DISTNAME= MooseX-App-Cmd-0.05
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=MooseX/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/MooseX-App-Cmd-0.05/
+COMMENT= Perl 5 module providing MooseX::Getopt and App::Cmd mashup
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/MooseX/App/Cmd/.packlist
+
+DEPENDS+= p5-App-Cmd-[0-9]*:../../devel/p5-App-Cmd
+DEPENDS+= p5-Getopt-Long-Descriptive-[0-9]*:../../devel/p5-Getopt-Long-Descriptive
+DEPENDS+= p5-Moose>=0.86:../../devel/p5-Moose
+DEPENDS+= p5-MooseX-Getopt-[0-9]*:../../devel/p5-MooseX-Getopt
+
+# For test target
+BUILD_DEPENDS+= p5-Test-use-ok-[0-9]*:../../devel/p5-Test-use-ok
+BUILD_DEPENDS+= p5-Test-Output-[0-9]*:../../devel/p5-Test-Output
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-MooseX-App-Cmd/distinfo b/devel/p5-MooseX-App-Cmd/distinfo
new file mode 100644
index 00000000000..19bc9e27f42
--- /dev/null
+++ b/devel/p5-MooseX-App-Cmd/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/21 01:56:16 seb Exp $
+
+SHA1 (MooseX-App-Cmd-0.05.tar.gz) = 01a1033bbcd27ee44c28025087d8a7ceae6a2899
+RMD160 (MooseX-App-Cmd-0.05.tar.gz) = a68e1b2a6aa043b6bf270109b6fa56be031df769
+Size (MooseX-App-Cmd-0.05.tar.gz) = 6303 bytes