summaryrefslogtreecommitdiff
path: root/devel/p5-MooseX-App-Cmd/Makefile
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2009-08-21 01:56:16 +0000
committerseb <seb@pkgsrc.org>2009-08-21 01:56:16 +0000
commit399f5a37769c1afad184edad70a72579b20f21fe (patch)
tree5511eff13a08e9ce08a9ce839b2d8fc240f87895 /devel/p5-MooseX-App-Cmd/Makefile
parentbe8c5958038356d9ec04cd58cd7352d459c2e892 (diff)
downloadpkgsrc-399f5a37769c1afad184edad70a72579b20f21fe.tar.gz
Initial import of p5-MooseX-App-Cmd version 0.05 in the NetBSD
Packages Collection. 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.
Diffstat (limited to 'devel/p5-MooseX-App-Cmd/Makefile')
-rw-r--r--devel/p5-MooseX-App-Cmd/Makefile28
1 files changed, 28 insertions, 0 deletions
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"