1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/devel/p5-MooseX-App-Cmd/Makefile
Philip M. Gollucci 1a8ef6e221 This module 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.

WWW:	http://search.cpan.org/dist/MooseX-App-Cmd/

PR:		ports/ports/152164
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
2010-11-16 02:53:09 +00:00

28 lines
672 B
Makefile

# New ports collection makefile for: p5-MooseX-App-Cmd
# Date created: 2010-11-12
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= MooseX-App-Cmd
PORTVERSION= 0.06
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= gslin@gslin.org
COMMENT= Mashes up MooseX::Getopt and App::Cmd
RUN_DEPENDS= p5-App-Cmd>=0.3:${PORTSDIR}/devel/p5-App-Cmd \
p5-Getopt-Long-Descriptive>=0:${PORTSDIR}/devel/p5-Getopt-Long-Descriptive \
p5-Moose>=0.86:${PORTSDIR}/devel/p5-Moose \
p5-MooseX-Getopt>=0.18:${PORTSDIR}/devel/p5-MooseX-Getopt
PERL_CONFIGURE= yes
MAN3= MooseX::App::Cmd.3 \
MooseX::App::Cmd::Command.3
.include <bsd.port.mk>