1978b97b65
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.
28 lines
921 B
Makefile
28 lines
921 B
Makefile
# $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"
|