aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-01-19 11:38:13 +0800
committerijliao <ijliao@FreeBSD.org>2004-01-19 11:38:13 +0800
commitef31601e85bbb74f11a5a09ba2651a1545c380dd (patch)
treeeb85f4726b0d3188f8ddb1b3e8ffc158d2bb10ab /textproc
parent843ee08438b9bbd124bbec72cb824d39f46da8bc (diff)
downloadfreebsd-ports-gnome-ef31601e85bbb74f11a5a09ba2651a1545c380dd.tar.gz
freebsd-ports-gnome-ef31601e85bbb74f11a5a09ba2651a1545c380dd.tar.zst
freebsd-ports-gnome-ef31601e85bbb74f11a5a09ba2651a1545c380dd.zip
add p5-XML-Xerces 2.3.0.4
The Perl API to the Apache Xerces XML parser Requested by: Scott McWhirter <scott-freebsd-perl@kungfuftr.com>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-XML-Xerces/Makefile30
-rw-r--r--textproc/p5-XML-Xerces/distinfo1
-rw-r--r--textproc/p5-XML-Xerces/pkg-descr18
-rw-r--r--textproc/p5-XML-Xerces/pkg-plist10
5 files changed, 60 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 5e80d7e13d5e..e501d1642849 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -373,6 +373,7 @@
SUBDIR += p5-XML-XSH
SUBDIR += p5-XML-XSLT
SUBDIR += p5-XML-XUpdate-LibXML
+ SUBDIR += p5-XML-Xerces
SUBDIR += p5-YAML
SUBDIR += p5-YAPE-HTML
SUBDIR += p5-YAPE-Regex
diff --git a/textproc/p5-XML-Xerces/Makefile b/textproc/p5-XML-Xerces/Makefile
new file mode 100644
index 000000000000..8924913b6158
--- /dev/null
+++ b/textproc/p5-XML-Xerces/Makefile
@@ -0,0 +1,30 @@
+# ex:ts=8
+# Ports collection makefile for: p5-XML-Xerces
+# Date created: Jan 19, 2004
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML-Xerces
+PORTVERSION= 2.3.0.4
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= XML
+PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= The Perl API to the Apache Xerces XML parser
+
+LIB_DEPENDS= xerces-c.23:${PORTSDIR}/textproc/xerces-c2
+
+PERL_CONFIGURE= yes
+CONFIGURE_ENV= XERCES_INCLUDE=${LOCALBASE}/include \
+ XERCES_LIB=${LOCALBASE}/lib
+USE_GMAKE= yes
+
+post-patch:
+ @${PERL} -pi -e "s|-lpthread|${PTHREAD_LIBS}|" ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-XML-Xerces/distinfo b/textproc/p5-XML-Xerces/distinfo
new file mode 100644
index 000000000000..6be07cbd9427
--- /dev/null
+++ b/textproc/p5-XML-Xerces/distinfo
@@ -0,0 +1 @@
+MD5 (XML-Xerces-2.3.0-4.tar.gz) = 006dd9f2b0238539cb58b37838c613ef
diff --git a/textproc/p5-XML-Xerces/pkg-descr b/textproc/p5-XML-Xerces/pkg-descr
new file mode 100644
index 000000000000..b4f00b4bc7c7
--- /dev/null
+++ b/textproc/p5-XML-Xerces/pkg-descr
@@ -0,0 +1,18 @@
+XML::Xerces is the Perl API to the Apache project's Xerces XML parser. It
+is implemented using the Xerces C++ API, and it provides access to *most*
+of the C++ API from Perl.
+
+Because it is based on Xerces-C, XML::Xerces provides a validating XML
+parser that makes it easy to give your application the ability to read and
+write XML data. Classes are provided for parsing, generating, manipulating,
+and validating XML documents. XML::Xerces is faithful to the XML 1.0
+recommendation and associated standards (DOM levels 1,2, and 3, SAX 1 and
+2, Namespaces, and W3C XML Schema). The parser provides high performance,
+modularity, and scalability, and provides full support for Unicode.
+
+XML::Xerces implements the vast majority of the Xerces-C API (if you notice
+any discrepancies please mail the list <URL:
+mailto:xerces-p-dev@xml.apache.org> ). The exception is some functions in
+the C++ API which either have better Perl counterparts (such as file I/O)
+or which manipulate internal C++ information that has no role in the Perl
+module.
diff --git a/textproc/p5-XML-Xerces/pkg-plist b/textproc/p5-XML-Xerces/pkg-plist
new file mode 100644
index 000000000000..bad5c25f9c86
--- /dev/null
+++ b/textproc/p5-XML-Xerces/pkg-plist
@@ -0,0 +1,10 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Xerces/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Xerces/Xerces.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Xerces/Xerces.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Handler/Handler.a
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Handler/extralibs.ld
+%%SITE_PERL%%/%%PERL_ARCH%%/XML/Xerces.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Xerces
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Handler
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/XML 2>/dev/null || true