From 1e13a987cf8498281e7b124f3a3b64ff7440d6c2 Mon Sep 17 00:00:00 2001 From: shell Date: Tue, 1 Jan 2002 12:44:38 +0000 Subject: [PATCH] Upgraded to XML-LibXML-1.31 - use distinfo - add patch for ParserDetails.ini - add p5-XML-SAX as BUILD_DEPENDS --- textproc/p5-XML-LibXML/Makefile | 8 +++++--- textproc/p5-XML-LibXML/distinfo | 3 +++ textproc/p5-XML-LibXML/files/md5 | 3 --- textproc/p5-XML-LibXML/patches/patch-Makefile_PL | 12 ++++++++++++ textproc/p5-XML-LibXML/pkg/MESSAGE | 9 +++++++++ textproc/p5-XML-LibXML/pkg/PLIST | 4 +++- 6 files changed, 32 insertions(+), 7 deletions(-) create mode 100644 textproc/p5-XML-LibXML/distinfo delete mode 100644 textproc/p5-XML-LibXML/files/md5 create mode 100644 textproc/p5-XML-LibXML/patches/patch-Makefile_PL create mode 100644 textproc/p5-XML-LibXML/pkg/MESSAGE diff --git a/textproc/p5-XML-LibXML/Makefile b/textproc/p5-XML-LibXML/Makefile index a7e20da6bcc..8a3cdf3c3ec 100644 --- a/textproc/p5-XML-LibXML/Makefile +++ b/textproc/p5-XML-LibXML/Makefile @@ -1,12 +1,12 @@ -# $OpenBSD: Makefile,v 1.8 2001/08/07 17:09:41 shell Exp $ +# $OpenBSD: Makefile,v 1.9 2002/01/01 12:44:38 shell Exp $ COMMENT= "perl interface to the libxml2 library" -VERSION= 1.00 +VERSION= 1.31 DISTNAME= XML-LibXML-${VERSION} PKGNAME= p5-${DISTNAME} CATEGORIES= textproc perl5 -NEED_VERSION= 1.427 +NEED_VERSION= 1.504 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= XML @@ -14,6 +14,8 @@ MASTER_SITE_SUBDIR= XML MAINTAINER= Shell Hung LIB_DEPENDS= xml2.6::textproc/libxml +RUN_DEPENDS= ::textproc/p5-XML-SAX +BUILD_DEPENDS= ${RUN_DEPENDS} PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes diff --git a/textproc/p5-XML-LibXML/distinfo b/textproc/p5-XML-LibXML/distinfo new file mode 100644 index 00000000000..507c9d6b534 --- /dev/null +++ b/textproc/p5-XML-LibXML/distinfo @@ -0,0 +1,3 @@ +MD5 (XML-LibXML-1.31.tar.gz) = 680089366ccb5cc06372dee14042c5e2 +RMD160 (XML-LibXML-1.31.tar.gz) = be382e4be0d8f49bf449bb37629619b13e4cddb5 +SHA1 (XML-LibXML-1.31.tar.gz) = 4578d00efe09062f2888775ab06263144de3fee4 diff --git a/textproc/p5-XML-LibXML/files/md5 b/textproc/p5-XML-LibXML/files/md5 deleted file mode 100644 index b0022dadfba..00000000000 --- a/textproc/p5-XML-LibXML/files/md5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (XML-LibXML-1.00.tar.gz) = c0079db3ff387d5008079f6a6cfd9feb -RMD160 (XML-LibXML-1.00.tar.gz) = 6065f388c2519ec3560c7277aa201a3c39870587 -SHA1 (XML-LibXML-1.00.tar.gz) = b2f275cbc783a50303e7cb7d8a0dec70c5edf46d diff --git a/textproc/p5-XML-LibXML/patches/patch-Makefile_PL b/textproc/p5-XML-LibXML/patches/patch-Makefile_PL new file mode 100644 index 00000000000..d4b698908a7 --- /dev/null +++ b/textproc/p5-XML-LibXML/patches/patch-Makefile_PL @@ -0,0 +1,12 @@ +$OpenBSD: patch-Makefile_PL,v 1.1 2002/01/01 12:44:38 shell Exp $ +--- Makefile.PL.orig Tue Jan 1 20:30:04 2002 ++++ Makefile.PL Tue Jan 1 20:30:09 2002 +@@ -116,7 +116,7 @@ + $script .= <<"INSTALL"; + + install_sax_driver : +-\t\@\$(PERL) -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()" ++#\t\@\$(PERL) -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()" + + INSTALL + diff --git a/textproc/p5-XML-LibXML/pkg/MESSAGE b/textproc/p5-XML-LibXML/pkg/MESSAGE new file mode 100644 index 00000000000..3641b729c6a --- /dev/null +++ b/textproc/p5-XML-LibXML/pkg/MESSAGE @@ -0,0 +1,9 @@ +In order to use the Parser by XML::LibXML, you may need to add the +following lines : + +[XML::LibXML::SAX::Parser] +http://xml.org/sax/features/namespaces = 1 + +into the ParserDetails.ini which located at : + +${PREFIX}/libdata/perl5/site_perl/XML/SAX/ diff --git a/textproc/p5-XML-LibXML/pkg/PLIST b/textproc/p5-XML-LibXML/pkg/PLIST index 1952265300c..915f3527fe9 100644 --- a/textproc/p5-XML-LibXML/pkg/PLIST +++ b/textproc/p5-XML-LibXML/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.6 2001/08/07 17:09:41 shell Exp $ +@comment $OpenBSD: PLIST,v 1.7 2002/01/01 12:44:38 shell Exp $ libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/XML/LibXML.pm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/XML/LibXML/Attr.pod libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/XML/LibXML/Boolean.pm @@ -15,6 +15,7 @@ libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/XML/LibXML/NodeList.pm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/XML/LibXML/Number.pm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/XML/LibXML/SAX/Builder.pm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/XML/LibXML/SAX/Generator.pm +libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/XML/LibXML/SAX/Parser.pm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/XML/LibXML/Text.pod libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/XML/LibXML/LibXML.bs libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/XML/LibXML/LibXML.so @@ -34,6 +35,7 @@ man/man3/XML::LibXML::NodeList.3p man/man3/XML::LibXML::Number.3p man/man3/XML::LibXML::SAX::Builder.3p man/man3/XML::LibXML::SAX::Generator.3p +man/man3/XML::LibXML::SAX::Parser.3p man/man3/XML::LibXML::Text.3p @dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/XML/LibXML @dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/XML/LibXML/SAX