diff options
author | erwin <erwin@FreeBSD.org> | 2004-01-31 22:18:04 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2004-01-31 22:18:04 +0800 |
commit | 1c65b9b3825d2ac4564545bcb4fb1fa393e79aa5 (patch) | |
tree | 4268cafb01ad36d9b09fc6c3071ab785f95aa427 /textproc | |
parent | 1d9530c384ac7b459748f9f293cba35fe55a1c51 (diff) | |
download | freebsd-ports-gnome-1c65b9b3825d2ac4564545bcb4fb1fa393e79aa5.tar.gz freebsd-ports-gnome-1c65b9b3825d2ac4564545bcb4fb1fa393e79aa5.tar.zst freebsd-ports-gnome-1c65b9b3825d2ac4564545bcb4fb1fa393e79aa5.zip |
Add p5-XML-Generator 0.93
XML::Generator is a simple perl module to help in the generation of XML.
Basically, you create an XML::Generator object and then call a method
for each tag, supplying the contents of that tag as parameters.
PR: ports/61720
Submitted by: Andreas Heil <ah@linux-hq.de>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-XML-Generator/Makefile | 31 | ||||
-rw-r--r-- | textproc/p5-XML-Generator/distinfo | 1 | ||||
-rw-r--r-- | textproc/p5-XML-Generator/files/patch-aa | 19 | ||||
-rw-r--r-- | textproc/p5-XML-Generator/pkg-descr | 5 | ||||
-rw-r--r-- | textproc/p5-XML-Generator/pkg-plist | 7 |
6 files changed, 64 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 017c45925f81..4e8df664dbdd 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -335,6 +335,7 @@ SUBDIR += p5-XML-Filter-XInclude SUBDIR += p5-XML-Filter-XSLT SUBDIR += p5-XML-GDOME + SUBDIR += p5-XML-Generator SUBDIR += p5-XML-Generator-DBI SUBDIR += p5-XML-Generator-PerlData SUBDIR += p5-XML-Grove diff --git a/textproc/p5-XML-Generator/Makefile b/textproc/p5-XML-Generator/Makefile new file mode 100644 index 000000000000..3913e0f1cda8 --- /dev/null +++ b/textproc/p5-XML-Generator/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: XML::Generator +# Date created: 22 January 2004 +# Whom: Andreas Heil <ah@linux-hq.de> +# +# $FreeBSD$ +# + +PORTNAME= XML-Generator +PORTVERSION= 0.93 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= XML +PKGNAMEPREFIX= p5- + +MAINTAINER= ah@linux-hq.de +COMMENT= A simple Perl module for generating XML documents + +RUN_DEPENDS= ${SITE_PERL}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= XML::Generator.3 XML::Generator::DOM.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again. +.endif + +.include <bsd.port.post.mk> diff --git a/textproc/p5-XML-Generator/distinfo b/textproc/p5-XML-Generator/distinfo new file mode 100644 index 000000000000..e91caf60c829 --- /dev/null +++ b/textproc/p5-XML-Generator/distinfo @@ -0,0 +1 @@ +MD5 (XML-Generator-0.93.tar.gz) = fd39d1143cf06174c872f56382c17b10 diff --git a/textproc/p5-XML-Generator/files/patch-aa b/textproc/p5-XML-Generator/files/patch-aa new file mode 100644 index 000000000000..cbd2e87dc574 --- /dev/null +++ b/textproc/p5-XML-Generator/files/patch-aa @@ -0,0 +1,19 @@ +--- t/DOM.t.old Fri Jan 30 22:31:16 2004 ++++ t/DOM.t Fri Jan 30 22:23:20 2004 +@@ -8,11 +8,11 @@ + # (It may become useful if the test is moved to ./t subdirectory.) + + BEGIN { +- print "1..0 # Skipped: XML::DOM not installed\n" unless eval "use XML::DOM; 1"; +- exit; +-} +- +-BEGIN { $| = 1; print "1..37\n"; } ++ unless ( eval "use XML::DOM; 1" ) { ++ print "1..0 # Skipped: XML::DOM not installed\n"; ++ exit; ++ } ++ $| = 1; print "1..37\n"; } + END {print "not ok 1\n" unless $loaded;} + use XML::Generator::DOM; + $loaded = 1; diff --git a/textproc/p5-XML-Generator/pkg-descr b/textproc/p5-XML-Generator/pkg-descr new file mode 100644 index 000000000000..98ed39ed2585 --- /dev/null +++ b/textproc/p5-XML-Generator/pkg-descr @@ -0,0 +1,5 @@ +XML::Generator is a simple perl module to help in the generation of XML. +Basically, you create an XML::Generator object and then call a method +for each tag, supplying the contents of that tag as parameters. + +WWW: http://search.cpan.org/search?dist=XML-Generator diff --git a/textproc/p5-XML-Generator/pkg-plist b/textproc/p5-XML-Generator/pkg-plist new file mode 100644 index 000000000000..2e9093120fcc --- /dev/null +++ b/textproc/p5-XML-Generator/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Generator/.packlist +%%SITE_PERL%%/XML/Generator/DOM.pm +%%SITE_PERL%%/XML/Generator.pm +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Generator 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/XML/Generator 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true |