summaryrefslogtreecommitdiff
path: root/textproc/p5-DelimMatch
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-12-31 05:15:39 +0000
committerWill Andrews <will@FreeBSD.org>2000-12-31 05:15:39 +0000
commitf22b27b1732beff1f06df470931d3826f000cfee (patch)
tree2e6c35e7d87bf8c1f017acca8b8155c2b3c8e9ea /textproc/p5-DelimMatch
parentAdd p5-Email-Find 0.02, a perl module to find RFC 822 email addresses in (diff)
Add p5-DelimMatch 1.03, a perl module to find regexp delimited strings
with proper nesting PR: 23916 Submitted by: Anton Berezin <tobez@tobez.org>
Notes
Notes: svn path=/head/; revision=36492
Diffstat (limited to 'textproc/p5-DelimMatch')
-rw-r--r--textproc/p5-DelimMatch/Makefile26
-rw-r--r--textproc/p5-DelimMatch/distinfo1
-rw-r--r--textproc/p5-DelimMatch/pkg-comment1
-rw-r--r--textproc/p5-DelimMatch/pkg-descr10
-rw-r--r--textproc/p5-DelimMatch/pkg-plist8
5 files changed, 46 insertions, 0 deletions
diff --git a/textproc/p5-DelimMatch/Makefile b/textproc/p5-DelimMatch/Makefile
new file mode 100644
index 000000000000..268bd779d784
--- /dev/null
+++ b/textproc/p5-DelimMatch/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: textproc/p5-DelimMatch
+# Date created: 28 December 2000
+# Whom: Anton Berezin <tobez@tobez.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DelimMatch
+PORTVERSION= 1.03
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Text
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@tobez.org
+
+USE_PERL5= yes
+PERL_CONFIGURE= yes
+
+MAN3= Text::DelimMatch.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+pre-patch:
+ @${PERL} -pi -e 's/(\$$match,.*)\$$match,/$$1/' ${WRKSRC}/DelimMatch.pm
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-DelimMatch/distinfo b/textproc/p5-DelimMatch/distinfo
new file mode 100644
index 000000000000..7001f53cb85b
--- /dev/null
+++ b/textproc/p5-DelimMatch/distinfo
@@ -0,0 +1 @@
+MD5 (DelimMatch-1.03.tar.gz) = 158158491edbdcf128db62f6adf167ab
diff --git a/textproc/p5-DelimMatch/pkg-comment b/textproc/p5-DelimMatch/pkg-comment
new file mode 100644
index 000000000000..e2c381259e54
--- /dev/null
+++ b/textproc/p5-DelimMatch/pkg-comment
@@ -0,0 +1 @@
+Perl extension to find regexp delimited strings with proper nesting
diff --git a/textproc/p5-DelimMatch/pkg-descr b/textproc/p5-DelimMatch/pkg-descr
new file mode 100644
index 000000000000..4c70f0b0bd0e
--- /dev/null
+++ b/textproc/p5-DelimMatch/pkg-descr
@@ -0,0 +1,10 @@
+DelimMatch allows you to match delimited substrings in a buffer. The
+delimiters can be specified with any regular expression and the start
+and end delimiters need not be the same. If the delimited text is
+properly nested, entire nested groups are returned.
+
+In addition, you may specify quoting and escaping characters that
+contribute to the recognition of start and end delimiters.
+
+-Anton
+<tobez@tobez.org>
diff --git a/textproc/p5-DelimMatch/pkg-plist b/textproc/p5-DelimMatch/pkg-plist
new file mode 100644
index 000000000000..0492f61925e1
--- /dev/null
+++ b/textproc/p5-DelimMatch/pkg-plist
@@ -0,0 +1,8 @@
+lib/perl5/site_perl/%%PERL_VER%%/auto/Text/DelimMatch/autosplit.ix
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/DelimMatch/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Text/DelimMatch.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/Text/DelimMatch
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/DelimMatch
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Text 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Text 2>/dev/null || true