From ea8ea6d5952baefccd12b6d8df843657adc4cb00 Mon Sep 17 00:00:00 2001 From: cwen Date: Fri, 18 Oct 2019 11:05:30 +0000 Subject: [PATCH] Import p5-CLI-Framework-0.05 CLI::Framework ("CLIF") provides a framework and conceptual pattern for building full-featured command line applications. It intends to make this process simple and consistent. It assumes the responsibility of implementing details that are common to all command-line applications, making it possible for new applications adhering to well-defined conventions to be built without the need to repeatedly write the same command-line interface code. From Peter Ezetta , with tweaks from afresh1@ OK afresh1@ --- devel/p5-CLI-Framework/Makefile | 21 +++++++++++++++++++++ devel/p5-CLI-Framework/distinfo | 2 ++ devel/p5-CLI-Framework/pkg/DESCR | 7 +++++++ devel/p5-CLI-Framework/pkg/PLIST | 30 ++++++++++++++++++++++++++++++ 4 files changed, 60 insertions(+) create mode 100644 devel/p5-CLI-Framework/Makefile create mode 100644 devel/p5-CLI-Framework/distinfo create mode 100644 devel/p5-CLI-Framework/pkg/DESCR create mode 100644 devel/p5-CLI-Framework/pkg/PLIST diff --git a/devel/p5-CLI-Framework/Makefile b/devel/p5-CLI-Framework/Makefile new file mode 100644 index 00000000000..218f1a1bfaa --- /dev/null +++ b/devel/p5-CLI-Framework/Makefile @@ -0,0 +1,21 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2019/10/18 11:05:30 cwen Exp $ + +COMMENT = framework for building flexible cli applications + +DISTNAME = CLI-Framework-0.05 + +CATEGORIES = devel + +# Perl +PERMIT_PACKAGE = Yes + +MODULES = cpan +RUN_DEPENDS = devel/p5-Exception-Class \ + devel/p5-Exception-Class-TryCatch \ + devel/p5-Getopt-Long-Descriptive \ + devel/p5-Class-Inspector +TEST_DEPENDS = databases/p5-DBD-SQLite + +PKG_ARCH = * + +.include diff --git a/devel/p5-CLI-Framework/distinfo b/devel/p5-CLI-Framework/distinfo new file mode 100644 index 00000000000..ed73e45c88c --- /dev/null +++ b/devel/p5-CLI-Framework/distinfo @@ -0,0 +1,2 @@ +SHA256 (CLI-Framework-0.05.tar.gz) = tMk2fe6zW2J1kKtpj9lqvZfaWywhWjtDK/V6P9mpWro= +SIZE (CLI-Framework-0.05.tar.gz) = 94967 diff --git a/devel/p5-CLI-Framework/pkg/DESCR b/devel/p5-CLI-Framework/pkg/DESCR new file mode 100644 index 00000000000..174f2724b04 --- /dev/null +++ b/devel/p5-CLI-Framework/pkg/DESCR @@ -0,0 +1,7 @@ +CLI::Framework ("CLIF") provides a framework and conceptual pattern +for building full-featured command line applications. It intends +to make this process simple and consistent. It assumes the +responsibility of implementing details that are common to all +command-line applications, making it possible for new applications +adhering to well-defined conventions to be built without the need +to repeatedly write the same command-line interface code. diff --git a/devel/p5-CLI-Framework/pkg/PLIST b/devel/p5-CLI-Framework/pkg/PLIST new file mode 100644 index 00000000000..51f6e24a5f2 --- /dev/null +++ b/devel/p5-CLI-Framework/pkg/PLIST @@ -0,0 +1,30 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2019/10/18 11:05:30 cwen Exp $ +${P5SITE}/CLI/ +${P5SITE}/CLI/Framework/ +${P5SITE}/CLI/Framework.pm +${P5SITE}/CLI/Framework/Application.pm +${P5SITE}/CLI/Framework/Command/ +${P5SITE}/CLI/Framework/Command.pm +${P5SITE}/CLI/Framework/Command/Alias.pm +${P5SITE}/CLI/Framework/Command/Console.pm +${P5SITE}/CLI/Framework/Command/Dump.pm +${P5SITE}/CLI/Framework/Command/Help.pm +${P5SITE}/CLI/Framework/Command/List.pm +${P5SITE}/CLI/Framework/Command/Menu.pm +${P5SITE}/CLI/Framework/Command/Meta.pm +${P5SITE}/CLI/Framework/Command/Tree.pm +${P5SITE}/CLI/Framework/Exceptions.pm +${P5SITE}/CLI/Framework/Tutorial.pod +@man man/man3p/CLI::Framework.3p +@man man/man3p/CLI::Framework::Application.3p +@man man/man3p/CLI::Framework::Command.3p +@man man/man3p/CLI::Framework::Command::Alias.3p +@man man/man3p/CLI::Framework::Command::Console.3p +@man man/man3p/CLI::Framework::Command::Dump.3p +@man man/man3p/CLI::Framework::Command::Help.3p +@man man/man3p/CLI::Framework::Command::List.3p +@man man/man3p/CLI::Framework::Command::Menu.3p +@man man/man3p/CLI::Framework::Command::Meta.3p +@man man/man3p/CLI::Framework::Command::Tree.3p +@man man/man3p/CLI::Framework::Exceptions.3p +@man man/man3p/CLI::Framework::Tutorial.3p