aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2005-09-13 14:42:14 +0800
committerlth <lth@FreeBSD.org>2005-09-13 14:42:14 +0800
commit8ba9263215a266d940faaf8cb9494aaad17a87db (patch)
treeaa36d541f31aec05af0781caaf23f8cbe5d8a525 /textproc
parent8975644a4d0f2017f802adfcffd94d79940ef08d (diff)
downloadfreebsd-ports-gnome-8ba9263215a266d940faaf8cb9494aaad17a87db.tar.gz
freebsd-ports-gnome-8ba9263215a266d940faaf8cb9494aaad17a87db.tar.zst
freebsd-ports-gnome-8ba9263215a266d940faaf8cb9494aaad17a87db.zip
Add p5-XML-DOM-XPath 0.09, adds XPath support to XML::DOM, using
XML::XPath engine. PR: ports/85896 Submitted by: Mauricio Herrera Cuadra <mauricio@arareko.net>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-XML-DOM-XPath/Makefile31
-rw-r--r--textproc/p5-XML-DOM-XPath/distinfo2
-rw-r--r--textproc/p5-XML-DOM-XPath/pkg-descr9
-rw-r--r--textproc/p5-XML-DOM-XPath/pkg-plist7
5 files changed, 50 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 1c76b17630f9..b0da1b9f96a4 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -446,6 +446,7 @@
SUBDIR += p5-XML-Clean
SUBDIR += p5-XML-DBMS
SUBDIR += p5-XML-DOM
+ SUBDIR += p5-XML-DOM-XPath
SUBDIR += p5-XML-DT
SUBDIR += p5-XML-DTDParser
SUBDIR += p5-XML-DifferenceMarkup
diff --git a/textproc/p5-XML-DOM-XPath/Makefile b/textproc/p5-XML-DOM-XPath/Makefile
new file mode 100644
index 000000000000..8a8b45c843b6
--- /dev/null
+++ b/textproc/p5-XML-DOM-XPath/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: textproc/p5-XML-DOM-XPath
+# Date created: 8 September 2005
+# Whom: Mauricio Herrera Cuadra <mauricio@arareko.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML-DOM-XPath
+PORTVERSION= 0.09
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= XML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= mauricio@arareko.net
+COMMENT= Adds XPath support to XML::DOM, using XML::XPath engine
+
+BUILD_DEPENDS= ${SITE_PERL}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM \
+ ${SITE_PERL}/XML/XPath.pm:${PORTSDIR}/textproc/p5-XML-XPath
+
+PERL_CONFIGURE= yes
+
+MAN3= XML::DOM::XPath.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires at least perl5.6 to build
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-XML-DOM-XPath/distinfo b/textproc/p5-XML-DOM-XPath/distinfo
new file mode 100644
index 000000000000..e83fc7919de4
--- /dev/null
+++ b/textproc/p5-XML-DOM-XPath/distinfo
@@ -0,0 +1,2 @@
+MD5 (XML-DOM-XPath-0.09.tar.gz) = d34d18e2bd9618a7a9034f30daeb8e3f
+SIZE (XML-DOM-XPath-0.09.tar.gz) = 10296
diff --git a/textproc/p5-XML-DOM-XPath/pkg-descr b/textproc/p5-XML-DOM-XPath/pkg-descr
new file mode 100644
index 000000000000..cd8ddc61a75c
--- /dev/null
+++ b/textproc/p5-XML-DOM-XPath/pkg-descr
@@ -0,0 +1,9 @@
+XML::DOM::XPath allows you to use XML::XPath methods to query a DOM.
+This is often much easier than relying only on getElementsByTagName.
+
+It lets you use all of the XML::DOM methods.
+
+WWW: http://search.cpan.org/dist/XML-DOM-XPath/
+
+- Mauricio
+mauricio@arareko.net
diff --git a/textproc/p5-XML-DOM-XPath/pkg-plist b/textproc/p5-XML-DOM-XPath/pkg-plist
new file mode 100644
index 000000000000..fcc1a61d856c
--- /dev/null
+++ b/textproc/p5-XML-DOM-XPath/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/XML/DOM/XPath.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/DOM/XPath/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/DOM/XPath
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/DOM 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/XML/DOM 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true