diff options
-rw-r--r-- | textproc/p5-XML-SAX-Expat/Makefile | 3 | ||||
-rw-r--r-- | textproc/p5-XML-SAX-Expat/pkg-descr | 15 | ||||
-rw-r--r-- | textproc/p5-XML-SAX-Expat/pkg-install | 6 |
3 files changed, 17 insertions, 7 deletions
diff --git a/textproc/p5-XML-SAX-Expat/Makefile b/textproc/p5-XML-SAX-Expat/Makefile index afda3714b986..575369555199 100644 --- a/textproc/p5-XML-SAX-Expat/Makefile +++ b/textproc/p5-XML-SAX-Expat/Makefile @@ -7,12 +7,13 @@ PORTNAME= XML-SAX-Expat PORTVERSION= 0.30 +PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= XML PKGNAMEPREFIX= p5- -MAINTAINER= skv@protey.ru +MAINTAINER= skv@FreeBSD.org RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/SAX.pm:${PORTSDIR}/textproc/p5-XML-SAX \ diff --git a/textproc/p5-XML-SAX-Expat/pkg-descr b/textproc/p5-XML-SAX-Expat/pkg-descr index 723bc03b8e19..f092f2af7c58 100644 --- a/textproc/p5-XML-SAX-Expat/pkg-descr +++ b/textproc/p5-XML-SAX-Expat/pkg-descr @@ -1,8 +1,11 @@ -XML::SAX consists of several framework classes for using and building -Perl SAX2 XML parsers, filters, and drivers. It is designed around the -need to be able to "plug in" different SAX parsers to an application -without requiring programmer intervention. Those of you familiar with -the DBI will be right at home. Some of the designs come from the Java -JAXP specification (SAX part), only without the javaness. +XML::SAX consists of several framework classes for using and building Perl SAX2 +XML parsers, filters, and drivers. It is designed around the need to be able +to "plug in" different SAX parsers to an application without requiring +programmer intervention. Those of you familiar with the DBI will be right at +home. Some of the designs come from the Java JAXP specification (SAX part), +only without the javaness. WWW: http://search.cpan.org/search?dist=XML-SAX-Expat + +-- Sergey Skvortsov +skv@FreeBSD.org diff --git a/textproc/p5-XML-SAX-Expat/pkg-install b/textproc/p5-XML-SAX-Expat/pkg-install new file mode 100644 index 000000000000..e733316cf409 --- /dev/null +++ b/textproc/p5-XML-SAX-Expat/pkg-install @@ -0,0 +1,6 @@ +#!/usr/bin/perl +if('POST-INSTALL' eq $ARGV[1]) { + eval "use XML::SAX;"; + die $@ if $@; + XML::SAX->add_parser(q(XML::SAX::Expat))->save_parsers(); +} |