aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-SAXDriver-Sablotron
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2002-05-30 13:36:47 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2002-05-30 13:36:47 +0000
commit10d4297fd968626cb1d19d1447a60df7703f69d0 (patch)
tree0409ea9eec768332906c1e3f6cfe71cf40397a60 /textproc/p5-XML-SAXDriver-Sablotron
parentf70f61e1cab69fca0ac8b6930ead22028d65e6ec (diff)
downloadports-10d4297fd968626cb1d19d1447a60df7703f69d0.tar.gz
ports-10d4297fd968626cb1d19d1447a60df7703f69d0.zip
Notes
Diffstat (limited to 'textproc/p5-XML-SAXDriver-Sablotron')
-rw-r--r--textproc/p5-XML-SAXDriver-Sablotron/Makefile29
-rw-r--r--textproc/p5-XML-SAXDriver-Sablotron/distinfo1
-rw-r--r--textproc/p5-XML-SAXDriver-Sablotron/pkg-comment1
-rw-r--r--textproc/p5-XML-SAXDriver-Sablotron/pkg-descr8
-rw-r--r--textproc/p5-XML-SAXDriver-Sablotron/pkg-plist7
5 files changed, 46 insertions, 0 deletions
diff --git a/textproc/p5-XML-SAXDriver-Sablotron/Makefile b/textproc/p5-XML-SAXDriver-Sablotron/Makefile
new file mode 100644
index 000000000000..c2978bedb9df
--- /dev/null
+++ b/textproc/p5-XML-SAXDriver-Sablotron/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: XML-SAXDriver-Sablotron
+# Date created: 30 May 2002
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML-SAXDriver-Sablotron
+PORTVERSION= 0.30
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= XML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Sablotron.pm:${PORTSDIR}/textproc/p5-XML-Sablotron \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/SAX/Base.pm:${PORTSDIR}/textproc/p5-XML-SAX
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= XML::SAXDriver::Sablotron.3
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+pre-patch:
+ @${PERL} -pi -e 's!^use warnings;!!;' ${WRKSRC}/Sablotron.pm
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-XML-SAXDriver-Sablotron/distinfo b/textproc/p5-XML-SAXDriver-Sablotron/distinfo
new file mode 100644
index 000000000000..acce2eea19af
--- /dev/null
+++ b/textproc/p5-XML-SAXDriver-Sablotron/distinfo
@@ -0,0 +1 @@
+MD5 (XML-SAXDriver-Sablotron-0.30.tar.gz) = 785db592e5ca705b3732816cbbd1d1f3
diff --git a/textproc/p5-XML-SAXDriver-Sablotron/pkg-comment b/textproc/p5-XML-SAXDriver-Sablotron/pkg-comment
new file mode 100644
index 000000000000..753adc4a192f
--- /dev/null
+++ b/textproc/p5-XML-SAXDriver-Sablotron/pkg-comment
@@ -0,0 +1 @@
+Perl SAX driver for the Sablotron XSLT
diff --git a/textproc/p5-XML-SAXDriver-Sablotron/pkg-descr b/textproc/p5-XML-SAXDriver-Sablotron/pkg-descr
new file mode 100644
index 000000000000..d8833d1d03ff
--- /dev/null
+++ b/textproc/p5-XML-SAXDriver-Sablotron/pkg-descr
@@ -0,0 +1,8 @@
+This extension allows to run the Sablotron XSLT processor as a SAX
+driver. A stylesheet passed to the constructor is applied to a document
+passed in as the parse_uri method argument.
+
+WWW: http://search.cpan.org/search?dist=XML-SAXDriver-Sablotron
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/textproc/p5-XML-SAXDriver-Sablotron/pkg-plist b/textproc/p5-XML-SAXDriver-Sablotron/pkg-plist
new file mode 100644
index 000000000000..fe58c878b371
--- /dev/null
+++ b/textproc/p5-XML-SAXDriver-Sablotron/pkg-plist
@@ -0,0 +1,7 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/SAXDriver/Sablotron/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/XML/SAXDriver/Sablotron.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/SAXDriver/Sablotron
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML/SAXDriver 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/SAXDriver 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true