aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2008-10-14 19:52:13 +0800
committerlth <lth@FreeBSD.org>2008-10-14 19:52:13 +0800
commit9b365f73ec7089043d59108b4d24468b45b291e7 (patch)
treed4ee9205009a22b26a065585cfcf2d9181729323 /textproc
parent3cdf38c96d6812054e85ddf955a5cd142a61f58d (diff)
downloadfreebsd-ports-graphics-9b365f73ec7089043d59108b4d24468b45b291e7.tar.gz
freebsd-ports-graphics-9b365f73ec7089043d59108b4d24468b45b291e7.tar.zst
freebsd-ports-graphics-9b365f73ec7089043d59108b4d24468b45b291e7.zip
Add p5-XML-Rules 1.05, parse XML and specify rules for individual tags.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-XML-Rules/Makefile24
-rw-r--r--textproc/p5-XML-Rules/distinfo3
-rw-r--r--textproc/p5-XML-Rules/pkg-descr4
-rw-r--r--textproc/p5-XML-Rules/pkg-plist4
5 files changed, 36 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index c9a3987b784..53256e27716 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -728,6 +728,7 @@
SUBDIR += p5-XML-RSS-SimpleGen
SUBDIR += p5-XML-RSSLite
SUBDIR += p5-XML-RegExp
+ SUBDIR += p5-XML-Rules
SUBDIR += p5-XML-SAX
SUBDIR += p5-XML-SAX-Expat
SUBDIR += p5-XML-SAX-Expat-Incremental
diff --git a/textproc/p5-XML-Rules/Makefile b/textproc/p5-XML-Rules/Makefile
new file mode 100644
index 00000000000..420145a1ae5
--- /dev/null
+++ b/textproc/p5-XML-Rules/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: textproc/p5-XML-Rules
+# Date created: 14 October 2008
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML-Rules
+PORTVERSION= 1.05
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= Parse XML and specify rules for individual tags
+
+RUN_DEPENDS= p5-XML-Parser>=2.00:${PORTSDIR}/textproc/p5-XML-Parser
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_MODBUILD= yes
+
+MAN3= XML::Rules.3
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-XML-Rules/distinfo b/textproc/p5-XML-Rules/distinfo
new file mode 100644
index 00000000000..e330ccc2a14
--- /dev/null
+++ b/textproc/p5-XML-Rules/distinfo
@@ -0,0 +1,3 @@
+MD5 (XML-Rules-1.05.tar.gz) = ee3845294c373f0e3404c1ef5c533c55
+SHA256 (XML-Rules-1.05.tar.gz) = d89b20a8eb094f0914aec1b094cf933e3b14a83173a2554d2692b3355679c469
+SIZE (XML-Rules-1.05.tar.gz) = 74984
diff --git a/textproc/p5-XML-Rules/pkg-descr b/textproc/p5-XML-Rules/pkg-descr
new file mode 100644
index 00000000000..340f0dfd644
--- /dev/null
+++ b/textproc/p5-XML-Rules/pkg-descr
@@ -0,0 +1,4 @@
+Parse XML and specify what and how to keep/process for individual
+tags.
+
+WWW: http://search.cpan.org/dist/XML-Rules/
diff --git a/textproc/p5-XML-Rules/pkg-plist b/textproc/p5-XML-Rules/pkg-plist
new file mode 100644
index 00000000000..886167ae4c2
--- /dev/null
+++ b/textproc/p5-XML-Rules/pkg-plist
@@ -0,0 +1,4 @@
+bin/dtd2XMLRules.pl
+bin/xml2XMLRules.pl
+%%SITE_PERL%%/XML/Rules.pm
+@dirrmtry %%SITE_PERL%%/XML