git: f28cc52c2795 - main - devel/p5-CLI-Osprey: Add p5-CLI-Osprey 0.08
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun May 30 20:02:41 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f28cc52c27954318ca9d34608850b57c585c4d3b
commit f28cc52c27954318ca9d34608850b57c585c4d3b
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-05-30 19:52:09 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-05-30 19:52:09 +0000
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
---
devel/Makefile | 1 +
devel/p5-CLI-Osprey/Makefile | 28 ++++++++++++++++++++++++++++
devel/p5-CLI-Osprey/distinfo | 3 +++
devel/p5-CLI-Osprey/pkg-descr | 10 ++++++++++
devel/p5-CLI-Osprey/pkg-plist | 10 ++++++++++
5 files changed, 52 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 5389ef0d005a..982f8efe81c7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -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
diff --git a/devel/p5-CLI-Osprey/Makefile b/devel/p5-CLI-Osprey/Makefile
new file mode 100644
index 000000000000..dfdc6cde7193
--- /dev/null
+++ b/devel/p5-CLI-Osprey/Makefile
@@ -0,0 +1,28 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME= CLI-Osprey
+PORTVERSION= 0.08
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet at 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>
diff --git a/devel/p5-CLI-Osprey/distinfo b/devel/p5-CLI-Osprey/distinfo
new file mode 100644
index 000000000000..1dbf8bdbcc35
--- /dev/null
+++ b/devel/p5-CLI-Osprey/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1622213910
+SHA256 (CLI-Osprey-0.08.tar.gz) = f7480523dbdf2c2b53789c06a8bd91cf6579bb8cc5678e72ea8a1faaab30d19a
+SIZE (CLI-Osprey-0.08.tar.gz) = 21310
diff --git a/devel/p5-CLI-Osprey/pkg-descr b/devel/p5-CLI-Osprey/pkg-descr
new file mode 100644
index 000000000000..cbc41f4b787f
--- /dev/null
+++ b/devel/p5-CLI-Osprey/pkg-descr
@@ -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
diff --git a/devel/p5-CLI-Osprey/pkg-plist b/devel/p5-CLI-Osprey/pkg-plist
new file mode 100644
index 000000000000..3e586fc51b95
--- /dev/null
+++ b/devel/p5-CLI-Osprey/pkg-plist
@@ -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
More information about the dev-commits-ports-all
mailing list