mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
devel/p5-CLI-Osprey: Add p5-CLI-Osprey 0.08
CLI::Osprey is a module to assist in writing commandline applications with M* OO modules (Moose, Moo, Mo). With it, you structure your app as one or more modules, which get instantiated with the commandline arguments as attributes. Arguments are parsed using Getopt::Long::Descriptive, and both long and short help messages as well as complete manual pages are automatically generated. An app can be a single command with options, or have sub-commands (like git). Sub-commands can be defined as modules (with options of their own) or as simple coderefs. WWW: https://metacpan.org/release/CLI-Osprey
This commit is contained in:
parent
b4fe22cfa6
commit
f28cc52c27
@ -1788,6 +1788,7 @@
|
||||
SUBDIR += p5-CHI
|
||||
SUBDIR += p5-CHI-Driver-DBI
|
||||
SUBDIR += p5-CLASS
|
||||
SUBDIR += p5-CLI-Osprey
|
||||
SUBDIR += p5-CPAN-Changes
|
||||
SUBDIR += p5-CPAN-Checksums
|
||||
SUBDIR += p5-CPAN-DistnameInfo
|
||||
|
28
devel/p5-CLI-Osprey/Makefile
Normal file
28
devel/p5-CLI-Osprey/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
|
||||
PORTNAME= CLI-Osprey
|
||||
PORTVERSION= 0.08
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= MooX::Options + MooX::Cmd + Sanity
|
||||
|
||||
LICENSE= ART10 GPLv1+
|
||||
LICENSE_COMB= dual
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS= p5-Getopt-Long-Descriptive>=0.100:devel/p5-Getopt-Long-Descriptive \
|
||||
p5-Module-Runtime>=0:devel/p5-Module-Runtime \
|
||||
p5-Moo>=0:devel/p5-Moo \
|
||||
p5-Path-Tiny>=0:devel/p5-Path-Tiny
|
||||
TEST_DEPENDS= p5-Capture-Tiny>=0.48:devel/p5-Capture-Tiny
|
||||
|
||||
USES= perl5
|
||||
USE_PERL5= modbuildtiny
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/p5-CLI-Osprey/distinfo
Normal file
3
devel/p5-CLI-Osprey/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1622213910
|
||||
SHA256 (CLI-Osprey-0.08.tar.gz) = f7480523dbdf2c2b53789c06a8bd91cf6579bb8cc5678e72ea8a1faaab30d19a
|
||||
SIZE (CLI-Osprey-0.08.tar.gz) = 21310
|
10
devel/p5-CLI-Osprey/pkg-descr
Normal file
10
devel/p5-CLI-Osprey/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
CLI::Osprey is a module to assist in writing commandline applications with M* OO
|
||||
modules (Moose, Moo, Mo). With it, you structure your app as one or more
|
||||
modules, which get instantiated with the commandline arguments as attributes.
|
||||
Arguments are parsed using Getopt::Long::Descriptive, and both long and short
|
||||
help messages as well as complete manual pages are automatically generated. An
|
||||
app can be a single command with options, or have sub-commands (like git).
|
||||
Sub-commands can be defined as modules (with options of their own) or as simple
|
||||
coderefs.
|
||||
|
||||
WWW: https://metacpan.org/release/CLI-Osprey
|
10
devel/p5-CLI-Osprey/pkg-plist
Normal file
10
devel/p5-CLI-Osprey/pkg-plist
Normal file
@ -0,0 +1,10 @@
|
||||
%%SITE_PERL%%/CLI/Osprey.pm
|
||||
%%SITE_PERL%%/CLI/Osprey/Descriptive.pm
|
||||
%%SITE_PERL%%/CLI/Osprey/Descriptive/Usage.pm
|
||||
%%SITE_PERL%%/CLI/Osprey/InlineSubcommand.pm
|
||||
%%SITE_PERL%%/CLI/Osprey/Role.pm
|
||||
%%PERL5_MAN3%%/CLI::Osprey.3.gz
|
||||
%%PERL5_MAN3%%/CLI::Osprey::Descriptive.3.gz
|
||||
%%PERL5_MAN3%%/CLI::Osprey::Descriptive::Usage.3.gz
|
||||
%%PERL5_MAN3%%/CLI::Osprey::InlineSubcommand.3.gz
|
||||
%%PERL5_MAN3%%/CLI::Osprey::Role.3.gz
|
Loading…
Reference in New Issue
Block a user