summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-XML-Twig/Makefile24
-rw-r--r--textproc/p5-XML-Twig/distinfo1
-rw-r--r--textproc/p5-XML-Twig/pkg-comment1
-rw-r--r--textproc/p5-XML-Twig/pkg-descr14
-rw-r--r--textproc/p5-XML-Twig/pkg-plist4
6 files changed, 45 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 05e010f3e0b4..462e87c80b5e 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -133,6 +133,7 @@
SUBDIR += p5-XML-Simple
SUBDIR += p5-XML-Stream
SUBDIR += p5-XML-TreeBuilder
+ SUBDIR += p5-XML-Twig
SUBDIR += p5-XML-Writer
SUBDIR += p5-XML-XPath
SUBDIR += p5-XML-XSLT
diff --git a/textproc/p5-XML-Twig/Makefile b/textproc/p5-XML-Twig/Makefile
new file mode 100644
index 000000000000..43240f1dd770
--- /dev/null
+++ b/textproc/p5-XML-Twig/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: p5-XML-Twig
+# Date created: 13 August 2001
+# Whom: Johann Visagie <wjv@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML-Twig
+PORTVERSION= 2.02
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= XML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= wjv@FreeBSD.org
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+
+PERL_CONFIGURE= YES
+
+MAN3= XML::Twig.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-XML-Twig/distinfo b/textproc/p5-XML-Twig/distinfo
new file mode 100644
index 000000000000..a0efc50becb2
--- /dev/null
+++ b/textproc/p5-XML-Twig/distinfo
@@ -0,0 +1 @@
+MD5 (XML-Twig-2.02.tar.gz) = 02bec37a6e9f699bd3ba3b5a721dbe60
diff --git a/textproc/p5-XML-Twig/pkg-comment b/textproc/p5-XML-Twig/pkg-comment
new file mode 100644
index 000000000000..7da6d5d1b3e6
--- /dev/null
+++ b/textproc/p5-XML-Twig/pkg-comment
@@ -0,0 +1 @@
+Tree interface to XML documents
diff --git a/textproc/p5-XML-Twig/pkg-descr b/textproc/p5-XML-Twig/pkg-descr
new file mode 100644
index 000000000000..768c4d23cd99
--- /dev/null
+++ b/textproc/p5-XML-Twig/pkg-descr
@@ -0,0 +1,14 @@
+XML::Twig - Tree interface to XML documents allowing chunk by chunk
+processing of huge documents.
+
+From the website:
+
+ XML-Twig is a Perl module that subclasses XML-Parser to allow easy
+ processing of XML documents of all sizes. A flush method allows dumping of
+ a completely processed sub-document to be printed, thus allowing processing
+ of documents of any size.
+
+Author: Michel Rodriguez <m.v.rodriguez@ieee.org>
+WWW: http://www.xmltwig.com/
+
+-- Johann Visagie <wjv@FreeBSD.org>
diff --git a/textproc/p5-XML-Twig/pkg-plist b/textproc/p5-XML-Twig/pkg-plist
new file mode 100644
index 000000000000..a8928a63e1b7
--- /dev/null
+++ b/textproc/p5-XML-Twig/pkg-plist
@@ -0,0 +1,4 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Twig/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/XML/Twig.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Twig
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true