aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-11-03 08:06:45 +0000
committerWen Heping <wen@FreeBSD.org>2010-11-03 08:06:45 +0000
commite0f6da3e822b74dd5d9b55f687f48b7d44b7a432 (patch)
tree96840026649169b520f4df6b6cb2c1addfe79e6f /textproc
parentde50dfa1eec7a51dd76429dfbd49097f95841615 (diff)
downloadports-e0f6da3e822b74dd5d9b55f687f48b7d44b7a432.tar.gz
ports-e0f6da3e822b74dd5d9b55f687f48b7d44b7a432.zip
Notes
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