pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/p5-XML-Twig Initial import of p5-XML-Twig.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45674debd125
branches:  trunk
changeset: 459775:45674debd125
user:      gson <gson%pkgsrc.org@localhost>
date:      Thu Aug 07 04:10:03 2003 +0000

description:
Initial import of p5-XML-Twig.

XML::Twig is a Perl module for efficient processing of XML documents
using a mixed stream/tree model.

diffstat:

 textproc/p5-XML-Twig/DESCR            |   2 ++
 textproc/p5-XML-Twig/Makefile         |  22 ++++++++++++++++++++++
 textproc/p5-XML-Twig/PLIST            |   1 +
 textproc/p5-XML-Twig/distinfo         |   6 ++++++
 textproc/p5-XML-Twig/patches/patch-aa |  23 +++++++++++++++++++++++
 textproc/p5-XML-Twig/patches/patch-ab |  34 ++++++++++++++++++++++++++++++++++
 6 files changed, 88 insertions(+), 0 deletions(-)

diffs (112 lines):

diff -r 0f30b15f566c -r 45674debd125 textproc/p5-XML-Twig/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-Twig/DESCR        Thu Aug 07 04:10:03 2003 +0000
@@ -0,0 +1,2 @@
+XML::Twig is a Perl module for efficient processing of XML documents
+using a mixed stream/tree model.
diff -r 0f30b15f566c -r 45674debd125 textproc/p5-XML-Twig/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-Twig/Makefile     Thu Aug 07 04:10:03 2003 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/08/07 04:10:03 gson Exp $
+#
+
+DISTNAME=      XML-Twig-3.10
+PKGNAME=       p5-${DISTNAME}
+SVR4_PKGNAME=  p5xtw
+CATEGORIES=    textproc perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=XML/}
+
+MAINTAINER=    tech-pkg%NetBSD.org@localhost
+HOMEPAGE=      http://www.xmltwig.com/
+COMMENT=       Efficient XML document interface
+
+DEPENDS+=      p5-WeakRef>=0.01:../../devel/p5-WeakRef
+DEPENDS+=      p5-XML-Parser>=2.23:../../textproc/p5-XML-Parser
+DEPENDS+=      p5-File-Temp>=0.12:../../devel/p5-File-Temp
+
+USE_BUILDLINK2=                YES
+PERL5_PACKLIST=                ${PERL5_SITEARCH}/auto/XML/Twig/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0f30b15f566c -r 45674debd125 textproc/p5-XML-Twig/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-Twig/PLIST        Thu Aug 07 04:10:03 2003 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/07 04:10:03 gson Exp $
diff -r 0f30b15f566c -r 45674debd125 textproc/p5-XML-Twig/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-Twig/distinfo     Thu Aug 07 04:10:03 2003 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/08/07 04:10:03 gson Exp $
+
+SHA1 (XML-Twig-3.10.tar.gz) = 89f49038d553dafebcb7fefc60a07acb502c4c38
+Size (XML-Twig-3.10.tar.gz) = 179676 bytes
+SHA1 (patch-aa) = b24b9ae8b8dd845192e3dc19d864170e7c3d5f50
+SHA1 (patch-ab) = 999126e8dce49891eb47ccf0429ed83fb87376fd
diff -r 0f30b15f566c -r 45674debd125 textproc/p5-XML-Twig/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-Twig/patches/patch-aa     Thu Aug 07 04:10:03 2003 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/08/07 04:10:03 gson Exp $
+
+--- Makefile.PL.orig   2003-06-06 10:22:46.000000000 -0700
++++ Makefile.PL
+@@ -8,13 +8,14 @@ my @programs;
+ for (split "\n", <<'QUERIES') {
+ xml_pp|y|XML pretty printer
+ xml_grep|y|XML grep - grep XML files using XML::Twig's subset of expat
+-xml_spellcheck|y|spellcheck XML files skipping tags
+ QUERIES
++#xml_spellcheck|y|spellcheck XML files skipping tags
++
+     my ($program, $default, $description) = split /\|/, $_;
+-    if (prompt("Do you want to install '$program' ($description)?", 
+-               $default) =~ /^y/) {
++#    if (prompt("Do you want to install '$program' ($description)?", 
++#               $default) =~ /^y/) {
+       push(@programs, $program);
+-    }
++#    }
+ }
+ 
+ WriteMakefile(
diff -r 0f30b15f566c -r 45674debd125 textproc/p5-XML-Twig/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-Twig/patches/patch-ab     Thu Aug 07 04:10:03 2003 +0000
@@ -0,0 +1,34 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/08/07 04:10:03 gson Exp $
+
+--- check_optional_modules.orig        2003-06-06 10:22:46.000000000 -0700
++++ check_optional_modules
+@@ -17,16 +17,16 @@ if( $] >=  5.0060)
+       { warn "weaken is available\n"; }
+   }
+ 
+-unless( eval 'require Text::Iconv')
+-  { my $version= `iconv -V` || '';
+-    if($version)
+-      { warn "The iconv library was found on your system ",
+-             "but the Text::Iconv module is not installed. ",
+-             "Installing Text::Iconv would make character ",
+-             "encoding translations fast and efficient.\n";
+-      }
+-    else
+-      { warn "Did not find iconv\n"; }
+-  }
+-else
+-  { warn "Text::Iconv is installed\n"; }
++#unless( eval 'require Text::Iconv')
++#  { my $version= `iconv -V` || '';
++#    if($version)
++#      { warn "The iconv library was found on your system ",
++#             "but the Text::Iconv module is not installed. ",
++#             "Installing Text::Iconv would make character ",
++#             "encoding translations fast and efficient.\n";
++#      }
++#    else
++#      { warn "Did not find iconv\n"; }
++#  }
++#else
++#  { warn "Text::Iconv is installed\n"; }



Home | Main Index | Thread Index | Old Index