From f22b27b1732beff1f06df470931d3826f000cfee Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Sun, 31 Dec 2000 05:15:39 +0000 Subject: [PATCH] Add p5-DelimMatch 1.03, a perl module to find regexp delimited strings with proper nesting PR: 23916 Submitted by: Anton Berezin --- textproc/Makefile | 1 + textproc/p5-DelimMatch/Makefile | 26 ++++++++++++++++++++++++++ textproc/p5-DelimMatch/distinfo | 1 + textproc/p5-DelimMatch/pkg-comment | 1 + textproc/p5-DelimMatch/pkg-descr | 10 ++++++++++ textproc/p5-DelimMatch/pkg-plist | 8 ++++++++ 6 files changed, 47 insertions(+) create mode 100644 textproc/p5-DelimMatch/Makefile create mode 100644 textproc/p5-DelimMatch/distinfo create mode 100644 textproc/p5-DelimMatch/pkg-comment create mode 100644 textproc/p5-DelimMatch/pkg-descr create mode 100644 textproc/p5-DelimMatch/pkg-plist 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 +# +# $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 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 + 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