summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-02-04 06:34:11 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-02-04 06:34:11 +0000
commit4d977b06bd038ea6974d8f23be26a1a6e8f6fff2 (patch)
tree09ce935649f531d12daf7da9754b272a011d0347 /textproc
parentmake it depends on xerces-c2 native transcoder, which works well with the upc... (diff)
add p5-XML-Xerces-BagOfTricks 0.03
A library to make XML:Xerces easier and more perl-ish PR: 61590 Submitted by: Scott McWhirter <scott@surreytech.co.uk>
Notes
Notes: svn path=/head/; revision=99928
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-XML-Xerces-BagOfTricks/Makefile32
-rw-r--r--textproc/p5-XML-Xerces-BagOfTricks/distinfo1
-rw-r--r--textproc/p5-XML-Xerces-BagOfTricks/pkg-descr11
-rw-r--r--textproc/p5-XML-Xerces-BagOfTricks/pkg-plist9
5 files changed, 54 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 4e8df664dbdd..5efb24b2ac46 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -383,6 +383,7 @@
SUBDIR += p5-XML-XSLT
SUBDIR += p5-XML-XUpdate-LibXML
SUBDIR += p5-XML-Xerces
+ SUBDIR += p5-XML-Xerces-BagOfTricks
SUBDIR += p5-YAML
SUBDIR += p5-YAPE-HTML
SUBDIR += p5-YAPE-Regex
diff --git a/textproc/p5-XML-Xerces-BagOfTricks/Makefile b/textproc/p5-XML-Xerces-BagOfTricks/Makefile
new file mode 100644
index 000000000000..e1dfd510e2be
--- /dev/null
+++ b/textproc/p5-XML-Xerces-BagOfTricks/Makefile
@@ -0,0 +1,32 @@
+# ex:ts=8
+# Ports collection makefile for: p5-XML-Xerces-BagOfTricks
+# Date created: 19 January 2004
+# Whom: Scott McWhirter <scott@surreytech.co.uk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML-Xerces-BagOfTricks
+PORTVERSION= 0.03
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= XML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= scott@surreytech.co.uk
+COMMENT= Provide a bag of tricks for users of XML::Xerces DOM API
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Xerces.pm:${PORTSDIR}/textproc/p5-XML-Xerces
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= XML::Xerces::BagOfTricks.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500801
+IGNORE= Port requires perl 5.8.x or later. Install lang/perl5.8 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-XML-Xerces-BagOfTricks/distinfo b/textproc/p5-XML-Xerces-BagOfTricks/distinfo
new file mode 100644
index 000000000000..21a07099b675
--- /dev/null
+++ b/textproc/p5-XML-Xerces-BagOfTricks/distinfo
@@ -0,0 +1 @@
+MD5 (XML-Xerces-BagOfTricks-0.03.tar.gz) = 0432aac75a11ec30c953d55e1edeb1a7
diff --git a/textproc/p5-XML-Xerces-BagOfTricks/pkg-descr b/textproc/p5-XML-Xerces-BagOfTricks/pkg-descr
new file mode 100644
index 000000000000..494aea8bd12f
--- /dev/null
+++ b/textproc/p5-XML-Xerces-BagOfTricks/pkg-descr
@@ -0,0 +1,11 @@
+This module is designed to provide a bag of tricks for users of
+XML::Xerces DOM API. It provides some useful variables for looking up
+xerces-c enum values.
+
+It also provides functions that make dealing with, creating and printing
+DOM objects much easier.
+
+getTextContents() from 'Effective XML processing with DOM and XPath in
+Perl' by Parand Tony Darugar, IBM Developerworks Oct 1st 2001
+
+WWW: http://search.cpan.org/dist/XML-Xerces-BagOfTricks/
diff --git a/textproc/p5-XML-Xerces-BagOfTricks/pkg-plist b/textproc/p5-XML-Xerces-BagOfTricks/pkg-plist
new file mode 100644
index 000000000000..e420564f0ee3
--- /dev/null
+++ b/textproc/p5-XML-Xerces-BagOfTricks/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/XML/Xerces/BagOfTricks.pm
+%%SITE_PERL%%/auto/XML/Xerces/BagOfTricks/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Xerces/BagOfTricks/.packlist
+@dirrm %%SITE_PERL%%/XML/Xerces
+@dirrm %%SITE_PERL%%/auto/XML/Xerces/BagOfTricks
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Xerces/BagOfTricks
+@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/auto/XML/Xerces 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Xerces 2>/dev/null || true