diff options
author | ijliao <ijliao@FreeBSD.org> | 2004-02-04 06:34:11 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2004-02-04 06:34:11 +0000 |
commit | c4ad6e60f4adb34b9da9455666a73762899a0e67 (patch) | |
tree | 5da18d3433225192cf7c2bd345265a3ef4fac02e | |
parent | 3744f9f70cd787a2486c9cae45fe7b8d78fd2425 (diff) | |
download | FreeBSD-ports-c4ad6e60f4adb34b9da9455666a73762899a0e67.zip FreeBSD-ports-c4ad6e60f4adb34b9da9455666a73762899a0e67.tar.gz |
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>
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-XML-Xerces-BagOfTricks/Makefile | 32 | ||||
-rw-r--r-- | textproc/p5-XML-Xerces-BagOfTricks/distinfo | 1 | ||||
-rw-r--r-- | textproc/p5-XML-Xerces-BagOfTricks/pkg-descr | 11 | ||||
-rw-r--r-- | textproc/p5-XML-Xerces-BagOfTricks/pkg-plist | 9 |
5 files changed, 54 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 4e8df66..5efb24b 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 0000000..e1dfd51 --- /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 0000000..21a0709 --- /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 0000000..494aea8b --- /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 0000000..e420564 --- /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 |