mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Add p5-MooseX-App 1.02
MooseX-App is a highly customizeable helper to write user-friendly command-line applications without having to worry about most of the annoying things usually involved. Just take any existing Moose class, add a single line (use MooseX-App qw(PluginA PluginB ...)) and create one class for each command in an underlying namespace. MooseX-App will then take care of - Finding, loading and initializing the command classes - Creating automated doucumentation - Reading and validating the command line options entered by the user Read the Tutorial[1] for getting started with a simple MooseX::App command line application. [1] http://search.cpan.org/dist/MooseX-App/lib/MooseX/App/Tutorial.pod WWW: http://search.cpan.org/dist/MooseX-App/
This commit is contained in:
parent
b442c7ba61
commit
7d0d5374c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295518
@ -2121,6 +2121,7 @@
|
||||
SUBDIR += p5-Moose-Autobox
|
||||
SUBDIR += p5-Moose-Policy
|
||||
SUBDIR += p5-MooseX-Aliases
|
||||
SUBDIR += p5-MooseX-App
|
||||
SUBDIR += p5-MooseX-App-Cmd
|
||||
SUBDIR += p5-MooseX-Async
|
||||
SUBDIR += p5-MooseX-Attribute-Chained
|
||||
|
49
devel/p5-MooseX-App/Makefile
Normal file
49
devel/p5-MooseX-App/Makefile
Normal file
@ -0,0 +1,49 @@
|
||||
# New ports collection makefile for: p5-MooseX-App
|
||||
# Date created: 2012-04-19
|
||||
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= MooseX-App
|
||||
PORTVERSION= 1.02
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Write user-friendly command line apps with even less suffering
|
||||
|
||||
LICENSE= ART10 GPLv1
|
||||
LICENSE_COMB= dual
|
||||
|
||||
BUILD_DEPENDS= p5-Config-Any>=0:${PORTSDIR}/devel/p5-Config-Any \
|
||||
p5-Moose>=2:${PORTSDIR}/devel/p5-Moose \
|
||||
p5-MooseX-Getopt>=0:${PORTSDIR}/devel/p5-MooseX-Getopt \
|
||||
p5-MooseX-Types-Path-Class>=0:${PORTSDIR}/devel/p5-MooseX-Types-Path-Class \
|
||||
p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class \
|
||||
p5-Pod-Elemental>=0:${PORTSDIR}/textproc/p5-Pod-Elemental \
|
||||
p5-String-CamelCase>=0:${PORTSDIR}/textproc/p5-String-CamelCase \
|
||||
p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
TEST_DEPENDS= p5-Test-Most>=0:${PORTSDIR}/devel/p5-Test-Most \
|
||||
p5-Test-NoWarnings>=0:${PORTSDIR}/devel/p5-Test-NoWarnings
|
||||
|
||||
PERL_CONFIGURE= 5.10.0+
|
||||
|
||||
MAN3= MooseX::App.3 \
|
||||
MooseX::App::Command.3 \
|
||||
MooseX::App::Message::Block.3 \
|
||||
MooseX::App::Message::Envelope.3 \
|
||||
MooseX::App::Meta::Role::Class::Base.3 \
|
||||
MooseX::App::Meta::Role::Class::Command.3 \
|
||||
MooseX::App::Plugin::BashCompletion.3 \
|
||||
MooseX::App::Plugin::Color.3 \
|
||||
MooseX::App::Plugin::Config.3 \
|
||||
MooseX::App::Plugin::ConfigHome.3 \
|
||||
MooseX::App::Role.3 \
|
||||
MooseX::App::Tutorial.3 \
|
||||
MooseX::App::WritingPlugins.3
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/p5-MooseX-App/distinfo
Normal file
2
devel/p5-MooseX-App/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (MooseX-App-1.02.tar.gz) = 7d7657ecd235dd1ebe4c4f4a7c5ca989dca61d3f8d550076d20837661ec59544
|
||||
SIZE (MooseX-App-1.02.tar.gz) = 46206
|
17
devel/p5-MooseX-App/pkg-descr
Normal file
17
devel/p5-MooseX-App/pkg-descr
Normal file
@ -0,0 +1,17 @@
|
||||
MooseX-App is a highly customizeable helper to write user-friendly command-line
|
||||
applications without having to worry about most of the annoying things usually
|
||||
involved. Just take any existing Moose class, add a single line (use MooseX-App
|
||||
qw(PluginA PluginB ...)) and create one class for each command in an underlying
|
||||
namespace.
|
||||
|
||||
MooseX-App will then take care of
|
||||
- Finding, loading and initializing the command classes
|
||||
- Creating automated doucumentation
|
||||
- Reading and validating the command line options entered by the user
|
||||
|
||||
Read the Tutorial[1] for getting started with a simple MooseX::App command line
|
||||
application.
|
||||
|
||||
[1] http://search.cpan.org/dist/MooseX-App/lib/MooseX/App/Tutorial.pod
|
||||
|
||||
WWW: http://search.cpan.org/dist/MooseX-App/
|
34
devel/p5-MooseX-App/pkg-plist
Normal file
34
devel/p5-MooseX-App/pkg-plist
Normal file
@ -0,0 +1,34 @@
|
||||
%%SITE_PERL%%/MooseX/App.pm
|
||||
%%SITE_PERL%%/MooseX/App/Base.pm
|
||||
%%SITE_PERL%%/MooseX/App/Command.pm
|
||||
%%SITE_PERL%%/MooseX/App/Message/Block.pm
|
||||
%%SITE_PERL%%/MooseX/App/Message/BlockColor.pm
|
||||
%%SITE_PERL%%/MooseX/App/Message/Envelope.pm
|
||||
%%SITE_PERL%%/MooseX/App/Meta/Role/Attribute.pm
|
||||
%%SITE_PERL%%/MooseX/App/Meta/Role/Class/Base.pm
|
||||
%%SITE_PERL%%/MooseX/App/Meta/Role/Class/Command.pm
|
||||
%%SITE_PERL%%/MooseX/App/Plugin/BashCompletion.pm
|
||||
%%SITE_PERL%%/MooseX/App/Plugin/BashCompletion/Command.pm
|
||||
%%SITE_PERL%%/MooseX/App/Plugin/BashCompletion/Meta/Class.pm
|
||||
%%SITE_PERL%%/MooseX/App/Plugin/Color.pm
|
||||
%%SITE_PERL%%/MooseX/App/Plugin/Color/Meta/Class.pm
|
||||
%%SITE_PERL%%/MooseX/App/Plugin/Config.pm
|
||||
%%SITE_PERL%%/MooseX/App/Plugin/ConfigHome.pm
|
||||
%%SITE_PERL%%/MooseX/App/Role.pm
|
||||
%%SITE_PERL%%/MooseX/App/Tutorial.pod
|
||||
%%SITE_PERL%%/MooseX/App/Utils.pm
|
||||
%%SITE_PERL%%/MooseX/App/WritingPlugins.pod
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/App/.packlist
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/App
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX
|
||||
@dirrmtry %%SITE_PERL%%/MooseX/App/Plugin/Color/Meta
|
||||
@dirrmtry %%SITE_PERL%%/MooseX/App/Plugin/Color
|
||||
@dirrmtry %%SITE_PERL%%/MooseX/App/Plugin/BashCompletion/Meta
|
||||
@dirrmtry %%SITE_PERL%%/MooseX/App/Plugin/BashCompletion
|
||||
@dirrmtry %%SITE_PERL%%/MooseX/App/Plugin
|
||||
@dirrmtry %%SITE_PERL%%/MooseX/App/Meta/Role/Class
|
||||
@dirrmtry %%SITE_PERL%%/MooseX/App/Meta/Role
|
||||
@dirrmtry %%SITE_PERL%%/MooseX/App/Meta
|
||||
@dirrmtry %%SITE_PERL%%/MooseX/App/Message
|
||||
@dirrmtry %%SITE_PERL%%/MooseX/App
|
||||
@dirrmtry %%SITE_PERL%%/MooseX
|
Loading…
Reference in New Issue
Block a user