aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2001-12-03 03:24:45 +0800
committersteve <steve@FreeBSD.org>2001-12-03 03:24:45 +0800
commitd03daf50d40aab06d3dbc9fccc8c073dc468581d (patch)
treee9277fe55df43add53a0760ee8724922c42dc1a1
parent11e0e1c8d8b8369618ac1a5fdf46b4cf8ec9f3e2 (diff)
downloadfreebsd-ports-gnome-d03daf50d40aab06d3dbc9fccc8c073dc468581d.tar.gz
freebsd-ports-gnome-d03daf50d40aab06d3dbc9fccc8c073dc468581d.tar.zst
freebsd-ports-gnome-d03daf50d40aab06d3dbc9fccc8c073dc468581d.zip
Adding p5-XML-Handler-Trees version 0.01.
PerlSAX handlers for building XML tree structures. PR: 32325 Submitted by: Sergey Skvortsov <skv@protey.ru>
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-XML-Handler-Trees/Makefile29
-rw-r--r--textproc/p5-XML-Handler-Trees/distinfo1
-rw-r--r--textproc/p5-XML-Handler-Trees/pkg-comment1
-rw-r--r--textproc/p5-XML-Handler-Trees/pkg-descr13
-rw-r--r--textproc/p5-XML-Handler-Trees/pkg-plist7
6 files changed, 52 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 58bfcb9f6330..2080091d683d 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -151,6 +151,7 @@
SUBDIR += p5-XML-Dumper
SUBDIR += p5-XML-Encoding
SUBDIR += p5-XML-Filter-Base
+ SUBDIR += p5-XML-Handler-Trees
SUBDIR += p5-XML-LibRSVG
SUBDIR += p5-XML-LibXML
SUBDIR += p5-XML-LibXSLT
diff --git a/textproc/p5-XML-Handler-Trees/Makefile b/textproc/p5-XML-Handler-Trees/Makefile
new file mode 100644
index 000000000000..af183a4546f2
--- /dev/null
+++ b/textproc/p5-XML-Handler-Trees/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: XML::Handler::Trees
+# Date created: 22 Nov 2001
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML-Handler-Trees
+PORTVERSION= 0.01
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= XML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@protey.ru
+
+BUILD_DEPENDS= dos2unix:${PORTSDIR}/converters/unix2dos
+
+PERL_CONFIGURE= yes
+
+MAN3= XML::Handler::Trees.3
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+post-extract:
+ @${FIND} ${WRKSRC} -type f -name "*.p[lm]" | ${XARGS} ${CHMOD} +w
+ @${FIND} ${WRKSRC} -type f -name "*.p[lm]" | ${XARGS} dos2unix -p
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-XML-Handler-Trees/distinfo b/textproc/p5-XML-Handler-Trees/distinfo
new file mode 100644
index 000000000000..63494c7ce22b
--- /dev/null
+++ b/textproc/p5-XML-Handler-Trees/distinfo
@@ -0,0 +1 @@
+MD5 (XML-Handler-Trees-0.01.tar.gz) = e604b5082113fbbddf6e42a86736b617
diff --git a/textproc/p5-XML-Handler-Trees/pkg-comment b/textproc/p5-XML-Handler-Trees/pkg-comment
new file mode 100644
index 000000000000..10a0ae769f15
--- /dev/null
+++ b/textproc/p5-XML-Handler-Trees/pkg-comment
@@ -0,0 +1 @@
+PerlSAX handlers for building tree structures
diff --git a/textproc/p5-XML-Handler-Trees/pkg-descr b/textproc/p5-XML-Handler-Trees/pkg-descr
new file mode 100644
index 000000000000..4673a52a02ab
--- /dev/null
+++ b/textproc/p5-XML-Handler-Trees/pkg-descr
@@ -0,0 +1,13 @@
+XML::Handler::Trees provides three PerlSAX handler classes for building
+tree structures. XML::Handler::Tree builds the same type of tree as the
+"Tree" style in XML::Parser. XML::Handler::EasyTree builds the same
+type of tree as the "EasyTree" style added to XML::Parser by
+XML::Parser::EasyTree. XML::Handler::TreeBuilder builds the same type
+of tree as Sean M. Burke's XML::TreeBuilder. These classes make it
+possible to construct these tree structures from sources other than
+XML::Parser.
+
+WWW: http://search.cpan.org/search?dist=XML-Handler-Trees
+
+-- Sergey Skvortsov
+skv@protey.ru
diff --git a/textproc/p5-XML-Handler-Trees/pkg-plist b/textproc/p5-XML-Handler-Trees/pkg-plist
new file mode 100644
index 000000000000..5f47091d3960
--- /dev/null
+++ b/textproc/p5-XML-Handler-Trees/pkg-plist
@@ -0,0 +1,7 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Handler/Trees/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/XML/Handler/Trees.pm
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML/Handler 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Handler/Trees
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Handler 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true