summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2001-11-25 14:27:47 +0000
committerAnton Berezin <tobez@FreeBSD.org>2001-11-25 14:27:47 +0000
commitf92116a6f2c2c387cb30ad72c8177e31e41a5b55 (patch)
tree7367e18697ab62def4d5c129dd173a2fd373c483 /textproc
parentadd biggles (diff)
Add p5-Regexp-Common, a perl module which provides commonly requested
regular expressions.
Notes
Notes: svn path=/head/; revision=50531
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Regexp-Common/Makefile22
-rw-r--r--textproc/p5-Regexp-Common/distinfo1
-rw-r--r--textproc/p5-Regexp-Common/pkg-comment1
-rw-r--r--textproc/p5-Regexp-Common/pkg-descr17
-rw-r--r--textproc/p5-Regexp-Common/pkg-plist5
6 files changed, 47 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index d70784520e7d..3c660f273d79 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -119,6 +119,7 @@
SUBDIR += p5-String-Scanf
SUBDIR += p5-String-ShellQuote
SUBDIR += p5-String-Strip
+ SUBDIR += p5-Regexp-Common
SUBDIR += p5-SVG
SUBDIR += p5-Text-Autoformat
SUBDIR += p5-Text-Balanced
diff --git a/textproc/p5-Regexp-Common/Makefile b/textproc/p5-Regexp-Common/Makefile
new file mode 100644
index 000000000000..8dbd662063e7
--- /dev/null
+++ b/textproc/p5-Regexp-Common/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: devel/p5-Regexp-Common
+# Date created: 25 November 2001
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Regexp-Common
+PORTVERSION= 0.01
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Regexp
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+
+PERL_CONFIGURE= yes
+
+MAN3= Regexp::Common.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Regexp-Common/distinfo b/textproc/p5-Regexp-Common/distinfo
new file mode 100644
index 000000000000..4c55f46dc36c
--- /dev/null
+++ b/textproc/p5-Regexp-Common/distinfo
@@ -0,0 +1 @@
+MD5 (Regexp-Common-0.01.tar.gz) = b0bee7dad83c7f53f677cdffaeecbcad
diff --git a/textproc/p5-Regexp-Common/pkg-comment b/textproc/p5-Regexp-Common/pkg-comment
new file mode 100644
index 000000000000..411d1fcd42ee
--- /dev/null
+++ b/textproc/p5-Regexp-Common/pkg-comment
@@ -0,0 +1 @@
+Regexp::Common - Provide commonly requested regular expressions
diff --git a/textproc/p5-Regexp-Common/pkg-descr b/textproc/p5-Regexp-Common/pkg-descr
new file mode 100644
index 000000000000..4b836be6d135
--- /dev/null
+++ b/textproc/p5-Regexp-Common/pkg-descr
@@ -0,0 +1,17 @@
+By default, this module exports a single hash (`%RE') that stores or
+generates commonly needed regular expressions. Patterns currently
+provided include:
+
+ * balanced parentheses and brackets
+ * delimited text (with escapes)
+ * integers and floating-point numbers in any base (up to 36)
+ * comments in C, C++, Perl, and shell
+ * offensive language
+ * lists of any pattern
+ * IPv4 addresses
+
+Author: Damian Conway <damian@cs.monash.edu.au>
+WWW: http://search.cpan.org/search?dist=Regexp-Common
+
+-Anton
+<tobez@FreeBSD.org>
diff --git a/textproc/p5-Regexp-Common/pkg-plist b/textproc/p5-Regexp-Common/pkg-plist
new file mode 100644
index 000000000000..15f18dd05023
--- /dev/null
+++ b/textproc/p5-Regexp-Common/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Regexp/Common/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Regexp/Common.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Regexp/Common
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Regexp 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Regexp 2>/dev/null || true