ports/71829: [NEW PORT] textproc/p5-XML-Clean: Ensure, that *(HTML)* text pass throught an XML parser

Rong-En Fan rafan at infor.org
Fri Sep 17 20:10:44 UTC 2004


>Number:         71829
>Category:       ports
>Synopsis:       [NEW PORT] textproc/p5-XML-Clean: Ensure, that *(HTML)* text pass throught an XML parser
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 17 20:10:41 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Rong-En Fan
>Release:        FreeBSD 5.3-BETA3 i386
>Organization:
NTU CSIE
>Environment:
System: FreeBSD rafan.csie.org 5.3-BETA3 FreeBSD 5.3-BETA3 #6: Thu Sep  9 09:42:47 CST
>Description:
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/

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- p5-XML-Clean-1.06.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-XML-Clean
#	p5-XML-Clean/Makefile
#	p5-XML-Clean/distinfo
#	p5-XML-Clean/pkg-descr
#	p5-XML-Clean/pkg-plist
#
echo c - p5-XML-Clean
mkdir -p p5-XML-Clean > /dev/null 2>&1
echo x - p5-XML-Clean/Makefile
sed 's/^X//' >p5-XML-Clean/Makefile << 'END-of-p5-XML-Clean/Makefile'
X# New ports collection makefile for:	textproc/p5-XML-Clean
X# Date created:				Sep 17 2004
X# Whom:					Rong-En Fan <rafan at infor.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	XML-Clean
XPORTVERSION=	1.06
XCATEGORIES=	textproc perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	../../authors/id/P/PK/PKUBANEK
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	rafan at infor.org
XCOMMENT=	Ensure, that *(HTML)* text pass throught an XML parser
X
XPERL_CONFIGURE=	yes
X
XMAN3=		XML::Clean.3
X
X.include <bsd.port.mk>
END-of-p5-XML-Clean/Makefile
echo x - p5-XML-Clean/distinfo
sed 's/^X//' >p5-XML-Clean/distinfo << 'END-of-p5-XML-Clean/distinfo'
XMD5 (XML-Clean-1.06.tar.gz) = 1429eec26fdecc974086b3808a450501
XSIZE (XML-Clean-1.06.tar.gz) = 3821
END-of-p5-XML-Clean/distinfo
echo x - p5-XML-Clean/pkg-descr
sed 's/^X//' >p5-XML-Clean/pkg-descr << 'END-of-p5-XML-Clean/pkg-descr'
XThe ultimate quest of this module is to produce from non-XML text
Xtext, that will will most probably pass throught any XML parser one
Xcould find.
X
XBasic cleaning is just XML tag matching (for every opening tag there
Xwill be closing tag as well, and they will form a tree structure).
X
XWhen you add some extra parameters, you will receive complete XML
Xtext, including XML head and root element (if none were defined in
Xtext, then some will be added).
X
XWWW: http://search.cpan.org/~pkubanek/XML-Clean/
END-of-p5-XML-Clean/pkg-descr
echo x - p5-XML-Clean/pkg-plist
sed 's/^X//' >p5-XML-Clean/pkg-plist << 'END-of-p5-XML-Clean/pkg-plist'
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Clean/.packlist
X%%SITE_PERL%%/XML/Clean.pm
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Clean
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true
END-of-p5-XML-Clean/pkg-plist
exit
--- p5-XML-Clean-1.06.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list