- 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)
This commit is contained in:
Cheng-Lung Sung 2004-10-12 12:09:25 +00:00
parent 3590822764
commit 781bc45c78
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118969
5 changed files with 42 additions and 0 deletions

View file

@ -382,6 +382,7 @@
SUBDIR += p5-XML-Atom-Syndication SUBDIR += p5-XML-Atom-Syndication
SUBDIR += p5-XML-AutoWriter SUBDIR += p5-XML-AutoWriter
SUBDIR += p5-XML-Catalog SUBDIR += p5-XML-Catalog
SUBDIR += p5-XML-Clean
SUBDIR += p5-XML-DBMS SUBDIR += p5-XML-DBMS
SUBDIR += p5-XML-DOM SUBDIR += p5-XML-DOM
SUBDIR += p5-XML-DT SUBDIR += p5-XML-DT

View file

@ -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>

View file

@ -0,0 +1,2 @@
MD5 (XML-Clean-1.06.tar.gz) = 1429eec26fdecc974086b3808a450501
SIZE (XML-Clean-1.06.tar.gz) = 3821

View file

@ -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/

View file

@ -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