aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-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
6 files changed, 47 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index da9f56c8c4a6..45303b09c169 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -69,6 +69,7 @@
SUBDIR += nicetext
SUBDIR += no-ispell
SUBDIR += openjade
+ SUBDIR += p5-DelimMatch
SUBDIR += p5-Spreadsheet-ParseExcel
SUBDIR += p5-Spreadsheet-WriteExcel
SUBDIR += p5-Text-CSV_XS
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