diff options
Diffstat (limited to 'textproc/p5-XML-Twig')
-rw-r--r-- | textproc/p5-XML-Twig/DESCR | 2 | ||||
-rw-r--r-- | textproc/p5-XML-Twig/Makefile | 22 | ||||
-rw-r--r-- | textproc/p5-XML-Twig/PLIST | 1 | ||||
-rw-r--r-- | textproc/p5-XML-Twig/distinfo | 6 | ||||
-rw-r--r-- | textproc/p5-XML-Twig/patches/patch-aa | 23 | ||||
-rw-r--r-- | textproc/p5-XML-Twig/patches/patch-ab | 34 |
6 files changed, 88 insertions, 0 deletions
diff --git a/textproc/p5-XML-Twig/DESCR b/textproc/p5-XML-Twig/DESCR new file mode 100644 index 00000000000..efde837d9ca --- /dev/null +++ b/textproc/p5-XML-Twig/DESCR @@ -0,0 +1,2 @@ +XML::Twig is a Perl module for efficient processing of XML documents +using a mixed stream/tree model. diff --git a/textproc/p5-XML-Twig/Makefile b/textproc/p5-XML-Twig/Makefile new file mode 100644 index 00000000000..a27b490f975 --- /dev/null +++ b/textproc/p5-XML-Twig/Makefile @@ -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 +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 --git a/textproc/p5-XML-Twig/PLIST b/textproc/p5-XML-Twig/PLIST new file mode 100644 index 00000000000..be2826ee1fb --- /dev/null +++ b/textproc/p5-XML-Twig/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/07 04:10:03 gson Exp $ diff --git a/textproc/p5-XML-Twig/distinfo b/textproc/p5-XML-Twig/distinfo new file mode 100644 index 00000000000..d6dd702f2c8 --- /dev/null +++ b/textproc/p5-XML-Twig/distinfo @@ -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 --git a/textproc/p5-XML-Twig/patches/patch-aa b/textproc/p5-XML-Twig/patches/patch-aa new file mode 100644 index 00000000000..c1eaf4b8608 --- /dev/null +++ b/textproc/p5-XML-Twig/patches/patch-aa @@ -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 --git a/textproc/p5-XML-Twig/patches/patch-ab b/textproc/p5-XML-Twig/patches/patch-ab new file mode 100644 index 00000000000..3db8fd44309 --- /dev/null +++ b/textproc/p5-XML-Twig/patches/patch-ab @@ -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"; } |