aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-Generator
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2004-01-31 14:18:04 +0000
committerErwin Lansing <erwin@FreeBSD.org>2004-01-31 14:18:04 +0000
commitc52e295eec83f213a44b6d84ab6489a1e6034c4b (patch)
treee3cca9eca7cccf29f176f8a8161e0a53b9dfcaca /textproc/p5-XML-Generator
parentfaf531c3621dd43a68d56d369b4471d6c641b0f8 (diff)
downloadports-c52e295eec83f213a44b6d84ab6489a1e6034c4b.tar.gz
ports-c52e295eec83f213a44b6d84ab6489a1e6034c4b.zip
Notes
Diffstat (limited to 'textproc/p5-XML-Generator')
-rw-r--r--textproc/p5-XML-Generator/Makefile31
-rw-r--r--textproc/p5-XML-Generator/distinfo1
-rw-r--r--textproc/p5-XML-Generator/files/patch-aa19
-rw-r--r--textproc/p5-XML-Generator/pkg-descr5
-rw-r--r--textproc/p5-XML-Generator/pkg-plist7
5 files changed, 63 insertions, 0 deletions
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