XML::Entities provides a mapping from the standard XML entities

to their Unicode characters. A function for decoding is provided.
The mapping can be generated from a DTD file with entity definitions.

WWW:    http://search.cpan.org/dist/XML-Entities/
This commit is contained in:
Wen Heping 2010-11-03 08:06:45 +00:00
parent de50dfa1ee
commit e0f6da3e82
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=263966
5 changed files with 46 additions and 0 deletions

View file

@ -808,6 +808,7 @@
SUBDIR += p5-XML-Dumper
SUBDIR += p5-XML-Elemental
SUBDIR += p5-XML-Encoding
SUBDIR += p5-XML-Entities
SUBDIR += p5-XML-FOAF
SUBDIR += p5-XML-Feed
SUBDIR += p5-XML-Feed-Deduper

View file

@ -0,0 +1,26 @@
# New ports collection makefile for: p5-XML-Entities
# Date created: 2010-10-1
# Whom: Tom Judge <tom@tomjudge.com>
#
# $FreeBSD$
PORTNAME= XML-Entities
PORTVERSION= 1.0000
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= tom@tomjudge.com
COMMENT= Generic classes for simplistic and perlish handling of XML data
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAN3= XML::Entities.3pm XML::Entities::Data.3pm download-entities.pl.3pm
MAN1= download-entities.pl.1
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (XML-Entities-1.0000.tar.gz) = f05f70a1c8d48a5c2fc2666eb5616514c2be98faa8a02e535b413589a8e32c37
SIZE (XML-Entities-1.0000.tar.gz) = 20162

View file

@ -0,0 +1,5 @@
XML::Entities provides a mapping from the standard XML entities
to their Unicode characters. A function for decoding is provided.
The mapping can be generated from a DTD file with entity definitions.
WWW: http://search.cpan.org/dist/XML-Entities/

View file

@ -0,0 +1,12 @@
bin/download-entities.pl
%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Entities/.packlist
%%SITE_PERL%%/XML/Entities.pm
%%SITE_PERL%%/XML/Entities/Data.pm
%%SITE_PERL%%/XML/Entities/Data.pod
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Entities
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto
@dirrm %%SITE_PERL%%/XML/Entities
@dirrmtry %%SITE_PERL%%/XML
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto