summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-01-03 23:58:36 +0000
committerWill Andrews <will@FreeBSD.org>2001-01-03 23:58:36 +0000
commit7be089663e4f85c83f775c6a6bdb53e51393340a (patch)
treeb95cf92c6b350a5023695de180700777f2f4da83 /textproc
parentAdd p5-String-ShellQuote 1.00, perl module for quote strings for passing (diff)
Add p5-XML-Dumper 0.4, a perl module for dumping perl objects to xml.
PR: 23993 Submitted by: Anton Berezin <tobez@tobez.org>
Notes
Notes: svn path=/head/; revision=36742
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-XML-Dumper/Makefile26
-rw-r--r--textproc/p5-XML-Dumper/distinfo1
-rw-r--r--textproc/p5-XML-Dumper/pkg-comment1
-rw-r--r--textproc/p5-XML-Dumper/pkg-descr10
-rw-r--r--textproc/p5-XML-Dumper/pkg-plist4
6 files changed, 43 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 0eccee6c1118..f21a14d25d48 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -91,6 +91,7 @@
SUBDIR += p5-Text-Tmpl
SUBDIR += p5-Text-Wrapper
SUBDIR += p5-XML-DOM
+ SUBDIR += p5-XML-Dumper
SUBDIR += p5-XML-Parser
SUBDIR += p5-XML-RSS
SUBDIR += p5-XML-Sablotron
diff --git a/textproc/p5-XML-Dumper/Makefile b/textproc/p5-XML-Dumper/Makefile
new file mode 100644
index 000000000000..e9d37b425c4f
--- /dev/null
+++ b/textproc/p5-XML-Dumper/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: textproc/p5-XML-Dumper
+# Date created: 01 January 2001
+# Whom: Anton Berezin <tobez@tobez.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML-Dumper
+PORTVERSION= 0.4
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= XML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@tobez.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_PERL5= yes
+PERL_CONFIGURE= yes
+
+MAN3= XML::Dumper.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-XML-Dumper/distinfo b/textproc/p5-XML-Dumper/distinfo
new file mode 100644
index 000000000000..d11816be5f1c
--- /dev/null
+++ b/textproc/p5-XML-Dumper/distinfo
@@ -0,0 +1 @@
+MD5 (XML-Dumper-0.4.tar.gz) = 923aa94b232bcff813cba8e9e1b7744c
diff --git a/textproc/p5-XML-Dumper/pkg-comment b/textproc/p5-XML-Dumper/pkg-comment
new file mode 100644
index 000000000000..01c1b813489d
--- /dev/null
+++ b/textproc/p5-XML-Dumper/pkg-comment
@@ -0,0 +1 @@
+Perl module for dumping Perl objects from/to XML
diff --git a/textproc/p5-XML-Dumper/pkg-descr b/textproc/p5-XML-Dumper/pkg-descr
new file mode 100644
index 000000000000..5b3d38ee797e
--- /dev/null
+++ b/textproc/p5-XML-Dumper/pkg-descr
@@ -0,0 +1,10 @@
+XML::Dumper dumps Perl data to a structured XML format. XML::Dumper can
+also read XML data that was previously dumped by the module and convert
+it back to Perl.
+
+This might be useful for dumping Perl objects to files using an XML
+format that can be reloaded or accessed by other programs. Maybe even
+other languages.
+
+-Anton
+<tobez@tobez.org>
diff --git a/textproc/p5-XML-Dumper/pkg-plist b/textproc/p5-XML-Dumper/pkg-plist
new file mode 100644
index 000000000000..22e21500e0d5
--- /dev/null
+++ b/textproc/p5-XML-Dumper/pkg-plist
@@ -0,0 +1,4 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Dumper/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/XML/Dumper.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Dumper
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true