aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-11-03 16:06:45 +0800
committerwen <wen@FreeBSD.org>2010-11-03 16:06:45 +0800
commita63a7f7ebf9d075416ccefd6279846e6e1497d92 (patch)
tree94ed9b0a1fb648a0ae8965a62e5cea382a2492c1 /textproc
parentd0f2675c42d653f72f8f21aa7d06e27a5ef1af86 (diff)
downloadfreebsd-ports-gnome-a63a7f7ebf9d075416ccefd6279846e6e1497d92.tar.gz
freebsd-ports-gnome-a63a7f7ebf9d075416ccefd6279846e6e1497d92.tar.zst
freebsd-ports-gnome-a63a7f7ebf9d075416ccefd6279846e6e1497d92.zip
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/
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-XML-Entities/Makefile26
-rw-r--r--textproc/p5-XML-Entities/distinfo2
-rw-r--r--textproc/p5-XML-Entities/pkg-descr5
-rw-r--r--textproc/p5-XML-Entities/pkg-plist12
5 files changed, 46 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 071be1f87047..9b72bbf7f3ba 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -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
diff --git a/textproc/p5-XML-Entities/Makefile b/textproc/p5-XML-Entities/Makefile
new file mode 100644
index 000000000000..7e65108cdcdf
--- /dev/null
+++ b/textproc/p5-XML-Entities/Makefile
@@ -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>
diff --git a/textproc/p5-XML-Entities/distinfo b/textproc/p5-XML-Entities/distinfo
new file mode 100644
index 000000000000..c8d1086a10d8
--- /dev/null
+++ b/textproc/p5-XML-Entities/distinfo
@@ -0,0 +1,2 @@
+SHA256 (XML-Entities-1.0000.tar.gz) = f05f70a1c8d48a5c2fc2666eb5616514c2be98faa8a02e535b413589a8e32c37
+SIZE (XML-Entities-1.0000.tar.gz) = 20162
diff --git a/textproc/p5-XML-Entities/pkg-descr b/textproc/p5-XML-Entities/pkg-descr
new file mode 100644
index 000000000000..25d433d2eeaa
--- /dev/null
+++ b/textproc/p5-XML-Entities/pkg-descr
@@ -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/
diff --git a/textproc/p5-XML-Entities/pkg-plist b/textproc/p5-XML-Entities/pkg-plist
new file mode 100644
index 000000000000..93b658698885
--- /dev/null
+++ b/textproc/p5-XML-Entities/pkg-plist
@@ -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