aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2007-04-10 15:02:39 +0800
committerlth <lth@FreeBSD.org>2007-04-10 15:02:39 +0800
commit80125af6be78e47e82aced378379aa29333c46c6 (patch)
tree9b16dfd2d420db6966ba124a2251adf020b4ee7c
parent42e99350c5bbc0a3b947b3f5fac51fd34b411fff (diff)
downloadfreebsd-ports-gnome-80125af6be78e47e82aced378379aa29333c46c6.tar.gz
freebsd-ports-gnome-80125af6be78e47e82aced378379aa29333c46c6.tar.zst
freebsd-ports-gnome-80125af6be78e47e82aced378379aa29333c46c6.zip
Add p5-Test-XML-Valid 0.04, validate XML and XHTML.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Test-XML-Valid/Makefile26
-rw-r--r--devel/p5-Test-XML-Valid/distinfo3
-rw-r--r--devel/p5-Test-XML-Valid/pkg-descr5
-rw-r--r--devel/p5-Test-XML-Valid/pkg-plist3
5 files changed, 38 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 1f0e07e376cd..283850672be2 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1533,6 +1533,7 @@
SUBDIR += p5-Test-WWW-Mechanize-Catalyst
SUBDIR += p5-Test-Warn
SUBDIR += p5-Test-XML
+ SUBDIR += p5-Test-XML-Valid
SUBDIR += p5-Test-use-ok
SUBDIR += p5-Text-LevenshteinXS
SUBDIR += p5-Text-vFile-asData
diff --git a/devel/p5-Test-XML-Valid/Makefile b/devel/p5-Test-XML-Valid/Makefile
new file mode 100644
index 000000000000..0d8b33b3cb41
--- /dev/null
+++ b/devel/p5-Test-XML-Valid/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: devel/p5-Test-XML-Valid
+# Date created: 10 April 2007
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Test-XML-Valid
+PORTVERSION= 0.04
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= Test
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= Validate XML and XHTML
+
+RUN_DEPENDS= p5-XML-LibXML>0:${PORTSDIR}/textproc/p5-XML-LibXML \
+ p5-Test-Simple>0:${PORTSDIR}/devel/p5-Test-Simple
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_MODBUILD= yes
+
+MAN3= Test::XML::Valid.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Test-XML-Valid/distinfo b/devel/p5-Test-XML-Valid/distinfo
new file mode 100644
index 000000000000..5a9d9420e210
--- /dev/null
+++ b/devel/p5-Test-XML-Valid/distinfo
@@ -0,0 +1,3 @@
+MD5 (Test-XML-Valid-0.04.tar.gz) = d2a118c04c8ba915f4fbf5fb98419a43
+SHA256 (Test-XML-Valid-0.04.tar.gz) = c7dc6c2152a8a965195c6047939c6a811183b85a9af2de36381536f782a7db9d
+SIZE (Test-XML-Valid-0.04.tar.gz) = 10531
diff --git a/devel/p5-Test-XML-Valid/pkg-descr b/devel/p5-Test-XML-Valid/pkg-descr
new file mode 100644
index 000000000000..bbb0597bda8d
--- /dev/null
+++ b/devel/p5-Test-XML-Valid/pkg-descr
@@ -0,0 +1,5 @@
+Tests for Valid XHTML (using XML::LibXML). If the XML is not valid,
+a message will be generated with specific details about where the
+parser failed.
+
+WWW: http://search.cpan.org/dist/Test-XML-Valid/
diff --git a/devel/p5-Test-XML-Valid/pkg-plist b/devel/p5-Test-XML-Valid/pkg-plist
new file mode 100644
index 000000000000..f6350a21bad1
--- /dev/null
+++ b/devel/p5-Test-XML-Valid/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_PERL%%/Test/XML/Valid.pm
+@dirrmtry %%SITE_PERL%%/Test/XML
+@dirrmtry %%SITE_PERL%%/Test