aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-08-11 01:51:28 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-08-11 01:51:28 +0000
commite4041ca5bf4ce9b8c4d741e004c96af1b06b11e3 (patch)
tree039b29159eb3c4965a6c8216357894f95d1a7c1a
parent0171dc55b40ff9261ee8dae7b8e2f4e67cd13345 (diff)
downloadports-e4041ca5bf4ce9b8c4d741e004c96af1b06b11e3.tar.gz
ports-e4041ca5bf4ce9b8c4d741e004c96af1b06b11e3.zip
Notes
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Test-Parser/Makefile38
-rw-r--r--devel/p5-Test-Parser/distinfo3
-rw-r--r--devel/p5-Test-Parser/pkg-descr9
-rw-r--r--devel/p5-Test-Parser/pkg-plist19
5 files changed, 70 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 2081003e3244..295b281cec54 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1378,6 +1378,7 @@
SUBDIR += p5-Test-NoWarnings
SUBDIR += p5-Test-Number-Delta
SUBDIR += p5-Test-Output
+ SUBDIR += p5-Test-Parser
SUBDIR += p5-Test-Pod
SUBDIR += p5-Test-Pod-Coverage
SUBDIR += p5-Test-RandomResults
diff --git a/devel/p5-Test-Parser/Makefile b/devel/p5-Test-Parser/Makefile
new file mode 100644
index 000000000000..3df1a9ab1f87
--- /dev/null
+++ b/devel/p5-Test-Parser/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: p5-Test-Parser
+# Date created: 2006-08-10
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Test-Parser
+PORTVERSION= 1.3.1
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Test
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Parsing log files from test runs, and displays in an XML syntax
+
+RUN_DEPENDS= ${SITE_PERL}/Chart/Graph/Gnuplot.pm:${PORTSDIR}/graphics/p5-Chart-Graph \
+ ${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \
+ ${SITE_PERL}/XML/Twig.pm:${PORTSDIR}/textproc/p5-XML-Twig
+
+PERL_CONFIGURE= yes
+
+MAN3= Test::Metadata.3 Test::Parser.3 Test::Parser::KernelBuild.3 \
+ Test::Parser::LHCS.3 Test::Parser::LTP.3 \
+ Test::Parser::NewPyNfs.3 Test::Parser::Vmstat.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+RUN_DEPENDS+= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-Pod-Parser
+
+post-patch:
+ ${FIND} ${WRKSRC}/lib -type f | ${XARGS} ${PERL} -pi -e \
+ 's/^use (vars|warnings).*$$//g'
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Test-Parser/distinfo b/devel/p5-Test-Parser/distinfo
new file mode 100644
index 000000000000..3f70e217eb2d
--- /dev/null
+++ b/devel/p5-Test-Parser/distinfo
@@ -0,0 +1,3 @@
+MD5 (Test-Parser-1.3.1.tar.gz) = c9ba09afb97c224063cb021b2868b629
+SHA256 (Test-Parser-1.3.1.tar.gz) = 2a59b7179e443eb386dca4daf3704a284b89744b260af592b0f1a1c5c5943039
+SIZE (Test-Parser-1.3.1.tar.gz) = 70380
diff --git a/devel/p5-Test-Parser/pkg-descr b/devel/p5-Test-Parser/pkg-descr
new file mode 100644
index 000000000000..840dd9510a4d
--- /dev/null
+++ b/devel/p5-Test-Parser/pkg-descr
@@ -0,0 +1,9 @@
+This module serves as a common base class for test log parsers. These
+tools are intended to be able to parse output from a wide variety of
+tests - including non-Perl tests.
+
+The parsers also write the test data into the 'Test Result Publication
+Interface' (TRPI) XML schema, developed by SpikeSource. See
+http://www.spikesource.com/testresults/index.jsp?show=trpi-schema
+
+WWW: http://search.cpan.org/dist/Test-Parser/
diff --git a/devel/p5-Test-Parser/pkg-plist b/devel/p5-Test-Parser/pkg-plist
new file mode 100644
index 000000000000..7c547378bb60
--- /dev/null
+++ b/devel/p5-Test-Parser/pkg-plist
@@ -0,0 +1,19 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Parser/.packlist
+%%SITE_PERL%%/Test/Metadata.pm
+%%SITE_PERL%%/Test/Parser.pm
+%%SITE_PERL%%/Test/Parser/KernelBuild.pm
+%%SITE_PERL%%/Test/Parser/LHCS.pm
+%%SITE_PERL%%/Test/Parser/LTP.pm
+%%SITE_PERL%%/Test/Parser/NewPyNfs.pm
+%%SITE_PERL%%/Test/Parser/Vmstat.pm
+bin/kernel2trpi
+bin/parse_build_kernel
+bin/parse_ltp
+bin/parse_newpynfs
+bin/parse_sysbench_cpu
+bin/parse_sysbench_fileio
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Parser
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test
+@dirrmtry %%SITE_PERL%%/Test/Parser
+@dirrmtry %%SITE_PERL%%/Test