summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2005-03-03 11:13:02 +0000
committerAnton Berezin <tobez@FreeBSD.org>2005-03-03 11:13:02 +0000
commit6dc7572495765eb1c8fee075144251f94ab51572 (patch)
tree74c17b683602c7c501e1d080c7cbabf4d4ee7f46 /textproc
parentAdd p5-Regexp-Log, a base Perl class for log files regexp builders. (diff)
Add p5-Regexp-Log-Common, a regexp parser for the common log format.
Notes
Notes: svn path=/head/; revision=130257
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Regexp-Log-Common/Makefile31
-rw-r--r--textproc/p5-Regexp-Log-Common/distinfo2
-rw-r--r--textproc/p5-Regexp-Log-Common/pkg-descr5
-rw-r--r--textproc/p5-Regexp-Log-Common/pkg-plist7
5 files changed, 46 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index eff56551e962..c1a543866a2e 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -334,6 +334,7 @@
SUBDIR += p5-Regex-PreSuf
SUBDIR += p5-Regexp-Common
SUBDIR += p5-Regexp-Log
+ SUBDIR += p5-Regexp-Log-Common
SUBDIR += p5-SVG
SUBDIR += p5-Search-Saryer
SUBDIR += p5-Sort-ArbBiLex
diff --git a/textproc/p5-Regexp-Log-Common/Makefile b/textproc/p5-Regexp-Log-Common/Makefile
new file mode 100644
index 000000000000..6e110b21886d
--- /dev/null
+++ b/textproc/p5-Regexp-Log-Common/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: textproc/p5-Regexp-Log-Common
+# Date created: 03 March 2005
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Regexp-Log-Common
+PORTVERSION= 0.02
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Regexp
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Regexp::Log::Common, a parser for the Common Log Format
+
+BUILD_DEPENDS= ${SITE_PERL}/Regexp/Log.pm:${PORTSDIR}/textproc/p5-Regexp-Log
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Regexp::Log::Common.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= Port requires perl 5.6.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Regexp-Log-Common/distinfo b/textproc/p5-Regexp-Log-Common/distinfo
new file mode 100644
index 000000000000..c8345291845f
--- /dev/null
+++ b/textproc/p5-Regexp-Log-Common/distinfo
@@ -0,0 +1,2 @@
+MD5 (Regexp-Log-Common-0.02.tar.gz) = 6a8d1ddd8e483a27350e40f974549375
+SIZE (Regexp-Log-Common-0.02.tar.gz) = 4635
diff --git a/textproc/p5-Regexp-Log-Common/pkg-descr b/textproc/p5-Regexp-Log-Common/pkg-descr
new file mode 100644
index 000000000000..2df05b96661c
--- /dev/null
+++ b/textproc/p5-Regexp-Log-Common/pkg-descr
@@ -0,0 +1,5 @@
+Regexp::Log::Common uses Regexp::Log as a base class, to generate regular
+expressions for performing the usual data munging tasks on log files that
+cannot be simply split().
+
+WWW: http://search.cpan.org/dist/Regexp-Log-Common
diff --git a/textproc/p5-Regexp-Log-Common/pkg-plist b/textproc/p5-Regexp-Log-Common/pkg-plist
new file mode 100644
index 000000000000..0a227adaf89a
--- /dev/null
+++ b/textproc/p5-Regexp-Log-Common/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Regexp/Log/Common.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Regexp/Log/Common/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Regexp/Log/Common 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Regexp/Log 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Regexp 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Regexp/Log 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Regexp 2>/dev/null || true