aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2005-09-13 06:42:14 +0000
committerLars Thegler <lth@FreeBSD.org>2005-09-13 06:42:14 +0000
commit520417df28a4c553170e8c143b63300bc7293e5b (patch)
tree9b71280a00b2ad45cd4b8ca482b4674f23012ca2 /textproc
parent8771b9a711ac5f7512ff7fb7fe7c549439454b41 (diff)
downloadports-520417df28a4c553170e8c143b63300bc7293e5b.tar.gz
ports-520417df28a4c553170e8c143b63300bc7293e5b.zip
Notes
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