aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Clean
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2004-10-12 20:09:25 +0800
committerclsung <clsung@FreeBSD.org>2004-10-12 20:09:25 +0800
commit1e7eea2ebd06dedb434d2e1e23aaaff71c9da232 (patch)
treef33f51f01e1d0a260ee344e60370dfb01aa16bb4 /textproc/p5-XML-Clean
parent525be6c52a525973b9c2c899d34d8df28745b9e2 (diff)
downloadfreebsd-ports-gnome-1e7eea2ebd06dedb434d2e1e23aaaff71c9da232.tar.gz
freebsd-ports-gnome-1e7eea2ebd06dedb434d2e1e23aaaff71c9da232.tar.zst
freebsd-ports-gnome-1e7eea2ebd06dedb434d2e1e23aaaff71c9da232.zip
- new port textproc/p5-XML-Clean
The ultimate quest of this module is to produce from non-XML text text, that will will most probably pass throught any XML parser one could find. Basic cleaning is just XML tag matching (for every opening tag there will be closing tag as well, and they will form a tree structure). When you add some extra parameters, you will receive complete XML text, including XML head and root element (if none were defined in text, then some will be added). WWW: http://search.cpan.org/~pkubanek/XML-Clean/ PR: ports/71829 Submitted by: Rong-En Fan <rafan AT infor dot org> Approved by: mentor (vanilla)
Diffstat (limited to 'textproc/p5-XML-Clean')
-rw-r--r--textproc/p5-XML-Clean/Makefile22
-rw-r--r--textproc/p5-XML-Clean/distinfo2
-rw-r--r--textproc/p5-XML-Clean/pkg-descr12
-rw-r--r--textproc/p5-XML-Clean/pkg-plist5
4 files changed, 41 insertions, 0 deletions
diff --git a/textproc/p5-XML-Clean/Makefile b/textproc/p5-XML-Clean/Makefile
new file mode 100644
index 000000000000..1e4f9d673f0a
--- /dev/null
+++ b/textproc/p5-XML-Clean/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: textproc/p5-XML-Clean
+# Date created: Sep 17 2004
+# Whom: Rong-En Fan <rafan@infor.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML-Clean
+PORTVERSION= 1.06
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/P/PK/PKUBANEK
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= rafan@infor.org
+COMMENT= Ensure, that *(HTML)* text pass throught an XML parser
+
+PERL_CONFIGURE= yes
+
+MAN3= XML::Clean.3
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-XML-Clean/distinfo b/textproc/p5-XML-Clean/distinfo
new file mode 100644
index 000000000000..665cf3da214b
--- /dev/null
+++ b/textproc/p5-XML-Clean/distinfo
@@ -0,0 +1,2 @@
+MD5 (XML-Clean-1.06.tar.gz) = 1429eec26fdecc974086b3808a450501
+SIZE (XML-Clean-1.06.tar.gz) = 3821
diff --git a/textproc/p5-XML-Clean/pkg-descr b/textproc/p5-XML-Clean/pkg-descr
new file mode 100644
index 000000000000..a7078937c5a8
--- /dev/null
+++ b/textproc/p5-XML-Clean/pkg-descr
@@ -0,0 +1,12 @@
+The ultimate quest of this module is to produce from non-XML text
+text, that will will most probably pass throught any XML parser one
+could find.
+
+Basic cleaning is just XML tag matching (for every opening tag there
+will be closing tag as well, and they will form a tree structure).
+
+When you add some extra parameters, you will receive complete XML
+text, including XML head and root element (if none were defined in
+text, then some will be added).
+
+WWW: http://search.cpan.org/~pkubanek/XML-Clean/
diff --git a/textproc/p5-XML-Clean/pkg-plist b/textproc/p5-XML-Clean/pkg-plist
new file mode 100644
index 000000000000..25c06aff75a5
--- /dev/null
+++ b/textproc/p5-XML-Clean/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Clean/.packlist
+%%SITE_PERL%%/XML/Clean.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Clean
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true