aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-DT
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-01-04 08:00:06 +0800
committerwill <will@FreeBSD.org>2001-01-04 08:00:06 +0800
commita882e7d1e6c7a435821f7982f931a5e9510e7573 (patch)
tree321583ca58c1c9edada7b445ddc974656d9b8b6e /textproc/p5-XML-DT
parentbcc75728901f0b26e4030ff722f6036728170135 (diff)
downloadfreebsd-ports-gnome-a882e7d1e6c7a435821f7982f931a5e9510e7573.tar.gz
freebsd-ports-gnome-a882e7d1e6c7a435821f7982f931a5e9510e7573.tar.zst
freebsd-ports-gnome-a882e7d1e6c7a435821f7982f931a5e9510e7573.zip
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>
Diffstat (limited to 'textproc/p5-XML-DT')
-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
5 files changed, 93 insertions, 0 deletions
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