From 1e7eea2ebd06dedb434d2e1e23aaaff71c9da232 Mon Sep 17 00:00:00 2001 From: clsung Date: Tue, 12 Oct 2004 12:09:25 +0000 Subject: - 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 Approved by: mentor (vanilla) --- textproc/Makefile | 1 + textproc/p5-XML-Clean/Makefile | 22 ++++++++++++++++++++++ textproc/p5-XML-Clean/distinfo | 2 ++ textproc/p5-XML-Clean/pkg-descr | 12 ++++++++++++ textproc/p5-XML-Clean/pkg-plist | 5 +++++ 5 files changed, 42 insertions(+) create mode 100644 textproc/p5-XML-Clean/Makefile create mode 100644 textproc/p5-XML-Clean/distinfo create mode 100644 textproc/p5-XML-Clean/pkg-descr create mode 100644 textproc/p5-XML-Clean/pkg-plist (limited to 'textproc') diff --git a/textproc/Makefile b/textproc/Makefile index 1ef8903..19becc2 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -382,6 +382,7 @@ SUBDIR += p5-XML-Atom-Syndication SUBDIR += p5-XML-AutoWriter SUBDIR += p5-XML-Catalog + SUBDIR += p5-XML-Clean SUBDIR += p5-XML-DBMS SUBDIR += p5-XML-DOM SUBDIR += p5-XML-DT diff --git a/textproc/p5-XML-Clean/Makefile b/textproc/p5-XML-Clean/Makefile new file mode 100644 index 0000000..1e4f9d6 --- /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 +# +# $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 diff --git a/textproc/p5-XML-Clean/distinfo b/textproc/p5-XML-Clean/distinfo new file mode 100644 index 0000000..665cf3d --- /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 0000000..a707893 --- /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 0000000..25c06af --- /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 -- cgit v1.1