diff options
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-XML-SAXDriver-Sablotron/Makefile | 29 | ||||
-rw-r--r-- | textproc/p5-XML-SAXDriver-Sablotron/distinfo | 1 | ||||
-rw-r--r-- | textproc/p5-XML-SAXDriver-Sablotron/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/p5-XML-SAXDriver-Sablotron/pkg-descr | 8 | ||||
-rw-r--r-- | textproc/p5-XML-SAXDriver-Sablotron/pkg-plist | 7 |
6 files changed, 47 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 8177bd6..5bb79f3 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -209,6 +209,7 @@ SUBDIR += p5-XML-SAX-Machines SUBDIR += p5-XML-SAX-Simple SUBDIR += p5-XML-SAX-Writer + SUBDIR += p5-XML-SAXDriver-Sablotron SUBDIR += p5-XML-Sablotron SUBDIR += p5-XML-Simple SUBDIR += p5-XML-SimpleObject diff --git a/textproc/p5-XML-SAXDriver-Sablotron/Makefile b/textproc/p5-XML-SAXDriver-Sablotron/Makefile new file mode 100644 index 0000000..c2978be --- /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 0000000..acce2ee --- /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 0000000..753adc4 --- /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 0000000..d8833d1 --- /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 0000000..fe58c87 --- /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 |