summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-01-04 00:00:06 +0000
committerWill Andrews <will@FreeBSD.org>2001-01-04 00:00:06 +0000
commitbc811a3e5f7282a23467b55b02e88b061b48f195 (patch)
tree2b9f38f30a9bb9c8a10c3f54db95a2e64327094a /textproc
parentAdd p5-XML-Dumper 0.4, a perl module for dumping perl objects to xml. (diff)
Add p5-XML-DT 0.19, a perl module for down translation of XML to strings.
PR: 23994 Submitted by: Anton Berezin <tobez@tobez.org>
Notes
Notes: svn path=/head/; revision=36743
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-XML-DT/Makefile32
-rw-r--r--textproc/p5-XML-DT/distinfo1
-rw-r--r--textproc/p5-XML-DT/pkg-comment1
-rw-r--r--textproc/p5-XML-DT/pkg-descr10
-rw-r--r--textproc/p5-XML-DT/pkg-plist49
6 files changed, 94 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index f21a14d25d48..fc87a0c54371 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-DT
SUBDIR += p5-XML-Dumper
SUBDIR += p5-XML-Parser
SUBDIR += p5-XML-RSS
diff --git a/textproc/p5-XML-DT/Makefile b/textproc/p5-XML-DT/Makefile
new file mode 100644
index 000000000000..9619d841cfef
--- /dev/null
+++ b/textproc/p5-XML-DT/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: textproc/p5-XML-DT
+# Date created: 01 January 2001
+# Whom: Anton Berezin <tobez@tobez.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML-DT
+PORTVERSION= 0.19
+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::DT.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+post-install:
+ @${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples
+ @${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples/XPath
+ @${INSTALL_DATA} ${WRKSRC}/examples/XPath/* ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples/XPath
+ @${INSTALL_DATA} `ls -d ${WRKSRC}/examples/* | ${GREP} -v XPath` ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-XML-DT/distinfo b/textproc/p5-XML-DT/distinfo
new file mode 100644
index 000000000000..30fe7a3beb01
--- /dev/null
+++ b/textproc/p5-XML-DT/distinfo
@@ -0,0 +1 @@
+MD5 (XML-DT-0.19.tar.gz) = 4fc4c0ca3f0c9e50920cd01aa28085bc
diff --git a/textproc/p5-XML-DT/pkg-comment b/textproc/p5-XML-DT/pkg-comment
new file mode 100644
index 000000000000..bd4ec48faad0
--- /dev/null
+++ b/textproc/p5-XML-DT/pkg-comment
@@ -0,0 +1 @@
+Perl module for down translation of XML to strings
diff --git a/textproc/p5-XML-DT/pkg-descr b/textproc/p5-XML-DT/pkg-descr
new file mode 100644
index 000000000000..fd529a1c067b
--- /dev/null
+++ b/textproc/p5-XML-DT/pkg-descr
@@ -0,0 +1,10 @@
+This module processes XML files with an approach similar to OMNIMARK.
+
+Down translation function dt() receives a filename and a set of
+expressions (functions) defining the processing and associated values
+for each element.
+
+dtstring() is similar but takes input from a string instead of a file.
+
+-Anton
+<tobez@tobez.org>
diff --git a/textproc/p5-XML-DT/pkg-plist b/textproc/p5-XML-DT/pkg-plist
new file mode 100644
index 000000000000..212c46950e11
--- /dev/null
+++ b/textproc/p5-XML-DT/pkg-plist
@@ -0,0 +1,49 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/DT/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT.pm
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex1.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex1.xml
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex2.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex2.xml
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex3.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex3.xml
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex4.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex4.xml
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex5.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex5.xml
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex6.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex6.xml
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex7.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex7.xml
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex8.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex8.xml
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/10nov.sgm
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/README
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/arq.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/arq.xml
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex.xml
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex1.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex10.1.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex10.2.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex10.2.xml
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex10.3.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex10.3.xml
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex11.1.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex11.1.xml
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex11.5.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex11.5.xml
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex2.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex3.xml
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex5.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex6.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex7.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/gcapaper2tex.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/jj.dtd
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/lat1.html
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/makefile
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/pub.pl
+lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/publico.dtd
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/DT
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/XML/DT
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true