aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-05-30 19:52:13 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-05-30 19:52:13 +0000
commitc9149551dfc1e5959362c85d2e7d01a7122115f0 (patch)
treea89eb93f92ea3728c2930cb4ada0ee4a10e54636
parentf28cc52c27954318ca9d34608850b57c585c4d3b (diff)
downloadports-c9149551dfc1e5959362c85d2e7d01a7122115f0.tar.gz
ports-c9149551dfc1e5959362c85d2e7d01a7122115f0.zip
textproc/p5-PPIx-Utils: Add p5-PPIx-Utils 0.003
PPIx::Utils is a collection of utility functions for working with PPI documents. The functions are organized into submodules, and may be imported from the appropriate submodule or via this module. These functions were originally from Perl::Critic::Utils and related modules, and have been split off to this distribution for use outside of Perl::Critic. WWW: https://metacpan.org/release/PPIx-Utils
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-PPIx-Utils/Makefile26
-rw-r--r--textproc/p5-PPIx-Utils/distinfo3
-rw-r--r--textproc/p5-PPIx-Utils/pkg-descr8
-rw-r--r--textproc/p5-PPIx-Utils/pkg-plist9
5 files changed, 47 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 3767421bedde..590331447214 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -648,6 +648,7 @@
SUBDIR += p5-PPIx-QuoteLike
SUBDIR += p5-PPIx-Regexp
SUBDIR += p5-PPIx-Utilities
+ SUBDIR += p5-PPIx-Utils
SUBDIR += p5-Parse-ANSIColor-Tiny
SUBDIR += p5-Parse-BooleanLogic
SUBDIR += p5-Parse-CSV
diff --git a/textproc/p5-PPIx-Utils/Makefile b/textproc/p5-PPIx-Utils/Makefile
new file mode 100644
index 000000000000..3f69f78bb434
--- /dev/null
+++ b/textproc/p5-PPIx-Utils/Makefile
@@ -0,0 +1,26 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= PPIx-Utils
+PORTVERSION= 0.003
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:DBOOK
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Utility functions for PPI
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-B-Keywords>=1.09:devel/p5-B-Keywords \
+ p5-PPI>=1.250:textproc/p5-PPI
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-PPIx-Utils/distinfo b/textproc/p5-PPIx-Utils/distinfo
new file mode 100644
index 000000000000..d31d86e1d749
--- /dev/null
+++ b/textproc/p5-PPIx-Utils/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1622213912
+SHA256 (PPIx-Utils-0.003.tar.gz) = 2a9bccfc8ead03be01b67248fe8e152522040f798286fa4ef4432b7f2efdba11
+SIZE (PPIx-Utils-0.003.tar.gz) = 38028
diff --git a/textproc/p5-PPIx-Utils/pkg-descr b/textproc/p5-PPIx-Utils/pkg-descr
new file mode 100644
index 000000000000..ff120947de40
--- /dev/null
+++ b/textproc/p5-PPIx-Utils/pkg-descr
@@ -0,0 +1,8 @@
+PPIx::Utils is a collection of utility functions for working with PPI documents.
+The functions are organized into submodules, and may be imported from the
+appropriate submodule or via this module.
+
+These functions were originally from Perl::Critic::Utils and related modules,
+and have been split off to this distribution for use outside of Perl::Critic.
+
+WWW: https://metacpan.org/release/PPIx-Utils
diff --git a/textproc/p5-PPIx-Utils/pkg-plist b/textproc/p5-PPIx-Utils/pkg-plist
new file mode 100644
index 000000000000..19ec702d073e
--- /dev/null
+++ b/textproc/p5-PPIx-Utils/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/PPIx/Utils.pm
+%%SITE_PERL%%/PPIx/Utils/Classification.pm
+%%SITE_PERL%%/PPIx/Utils/Language.pm
+%%SITE_PERL%%/PPIx/Utils/Traversal.pm
+%%SITE_PERL%%/PPIx/Utils/_Common.pm
+%%PERL5_MAN3%%/PPIx::Utils.3.gz
+%%PERL5_MAN3%%/PPIx::Utils::Classification.3.gz
+%%PERL5_MAN3%%/PPIx::Utils::Language.3.gz
+%%PERL5_MAN3%%/PPIx::Utils::Traversal.3.gz