aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-04-25 02:01:11 +0800
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-04-25 02:01:11 +0800
commit7a87dbad24db5f41b8ed2edb9509fb9c94e4bb0b (patch)
treec89c43598a9923e7ec29426ba4e928fc1b44eba9 /devel
parentfea4897c09f6b522f91152ad1d4871b648713356 (diff)
downloadfreebsd-ports-gnome-7a87dbad24db5f41b8ed2edb9509fb9c94e4bb0b.tar.gz
freebsd-ports-gnome-7a87dbad24db5f41b8ed2edb9509fb9c94e4bb0b.tar.zst
freebsd-ports-gnome-7a87dbad24db5f41b8ed2edb9509fb9c94e4bb0b.zip
Add p5-PPR 0.000026
The PPR module provides a single regular expression that defines a set of independent subpatterns suitable for matching entire Perl documents, as well as a wide range of individual syntactic components of Perl (i.e. statements, expressions, control blocks, variables, etc.) The regex does not "parse" Perl (that is, it does not build a syntax tree, like the PPI module does). Instead it simply "recognizes" standard Perl constructs, or new syntaxes composed from Perl constructs. Its features and capabilities therefore complement those of the PPI module, rather than replacing them. See "Comparison with PPI". WWW: https://metacpan.org/release/PPR
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-PPR/Makefile22
-rw-r--r--devel/p5-PPR/distinfo3
-rw-r--r--devel/p5-PPR/pkg-descr13
-rw-r--r--devel/p5-PPR/pkg-plist4
5 files changed, 43 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 5961ec1083d4..fed46b5709a0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2971,6 +2971,7 @@
SUBDIR += p5-POEx-Types
SUBDIR += p5-POSIX-strftime-Compiler
SUBDIR += p5-POSIX-strptime
+ SUBDIR += p5-PPR
SUBDIR += p5-PPerl
SUBDIR += p5-PV
SUBDIR += p5-Package-Constants
diff --git a/devel/p5-PPR/Makefile b/devel/p5-PPR/Makefile
new file mode 100644
index 000000000000..04e4d94cea41
--- /dev/null
+++ b/devel/p5-PPR/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= PPR
+PORTVERSION= 0.000026
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:DCONWAY
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Pattern-based Perl Recognizer
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-PPR/distinfo b/devel/p5-PPR/distinfo
new file mode 100644
index 000000000000..a809edec04d7
--- /dev/null
+++ b/devel/p5-PPR/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1587721875
+SHA256 (PPR-0.000026.tar.gz) = bdd4d6d7e9d8b687f66ac119419ee4f1ad5f4bb8cb6a4a02c7d319dcfff41c98
+SIZE (PPR-0.000026.tar.gz) = 76491
diff --git a/devel/p5-PPR/pkg-descr b/devel/p5-PPR/pkg-descr
new file mode 100644
index 000000000000..32e0fdd799cf
--- /dev/null
+++ b/devel/p5-PPR/pkg-descr
@@ -0,0 +1,13 @@
+The PPR module provides a single regular expression that defines a set of
+independent subpatterns suitable for matching entire Perl documents, as well as
+a wide range of individual syntactic components of Perl (i.e. statements,
+expressions, control blocks, variables, etc.)
+
+The regex does not "parse" Perl (that is, it does not build a syntax tree, like
+the PPI module does). Instead it simply "recognizes" standard Perl constructs,
+or new syntaxes composed from Perl constructs.
+
+Its features and capabilities therefore complement those of the PPI module,
+rather than replacing them. See "Comparison with PPI".
+
+WWW: https://metacpan.org/release/PPR
diff --git a/devel/p5-PPR/pkg-plist b/devel/p5-PPR/pkg-plist
new file mode 100644
index 000000000000..8299930def70
--- /dev/null
+++ b/devel/p5-PPR/pkg-plist
@@ -0,0 +1,4 @@
+%%SITE_PERL%%/PPR.pm
+%%SITE_PERL%%/PPR/X.pm
+%%PERL5_MAN3%%/PPR.3.gz
+%%PERL5_MAN3%%/PPR::X.3.gz