ports/57952: Update port: p5-XML-DT from 0.20 to 0.26
Cheng-Lung Sung
clsung at dragon2.net
Mon Oct 13 13:10:17 UTC 2003
>Number: 57952
>Category: ports
>Synopsis: Update port: p5-XML-DT from 0.20 to 0.26
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 13 06:10:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Cheng-Lung Sung
>Release: FreeBSD 4.8-RELEASE-p13 i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD sungsung.csie.nctu.edu.tw 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #3: Wed Oct 8 07:32:16 CST 2003 root at sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386
>Description:
- Update port: p5-XML-DT:
o build_depends change from p5-XML-Parser to p5-XML-LibXML due to
author's suggestion:
"At the moment, XML::LibXML is quicker than XML::Parser and
supports HTML parsing"
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/textproc/p5-XML-DT/Makefile ./p5-XML-DT/Makefile
--- /usr/ports/textproc/p5-XML-DT/Makefile Fri Mar 7 14:11:48 2003
+++ ./p5-XML-DT/Makefile Mon Oct 13 20:56:25 2003
@@ -6,7 +6,7 @@
#
PORTNAME= XML-DT
-PORTVERSION= 0.20
+PORTVERSION= 0.26
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
@@ -15,18 +15,19 @@
MAINTAINER= tobez at FreeBSD.org
COMMENT= Perl module for down translation of XML to strings
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML
+BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= XML::DT.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN1= mkdtskel.1 mkdtdskel.1
-post-install:
- @${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples
- @${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples/XPath
- @${INSTALL_DATA} ${WRKSRC}/examples/XPath/* ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples/XPath
- @${INSTALL_DATA} `ls -d ${WRKSRC}/examples/* | ${GREP} -v XPath` ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples
+#post-install:
+# @${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples
+# @${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples/XPath
+# @${INSTALL_DATA} ${WRKSRC}/examples/XPath/* ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples/XPath
+# @${INSTALL_DATA} `ls -d ${WRKSRC}/examples/* | ${GREP} -v XPath` ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/DT/examples
.include <bsd.port.mk>
diff -ruN /usr/ports/textproc/p5-XML-DT/distinfo ./p5-XML-DT/distinfo
--- /usr/ports/textproc/p5-XML-DT/distinfo Fri Jun 7 03:56:42 2002
+++ ./p5-XML-DT/distinfo Mon Oct 13 20:32:14 2003
@@ -1 +1 @@
-MD5 (XML-DT-0.20.tar.gz) = 966c7f1402b3b2a7839f4c14f5a1da9f
+MD5 (XML-DT-0.26.tar.gz) = ae8ffae8346514ea1e65029ea2c3bea0
diff -ruN /usr/ports/textproc/p5-XML-DT/files/patch-Makefile.PL ./p5-XML-DT/files/patch-Makefile.PL
--- /usr/ports/textproc/p5-XML-DT/files/patch-Makefile.PL Thu Jan 1 08:00:00 1970
+++ ./p5-XML-DT/files/patch-Makefile.PL Mon Oct 13 20:53:45 2003
@@ -0,0 +1,47 @@
+--- Makefile.PL.orig Sun Oct 12 22:45:13 2003
++++ Makefile.PL Mon Oct 13 20:53:10 2003
+@@ -9,26 +9,26 @@
+ 'LWP::Simple' => '1.35',
+ );
+
+-print "\n";
+-print " NOTE: Next versions will, possibly, deprecate XML::Parser backend.\n";
+-print " At the moment, XML::LibXML is quicker than XML::Parser and\n";
+-print " supports HTML parsing\n\n";
+-
+-print "I need a XML Back-end (XML::Parser >= $xmlparser_version or XML::LibXML >= $xmllibxml_version\n";
+-do {
+- print "Sorry, I didn't understand the answer.\n" if ($answer);
+- print "Should I use 'XML::Parser' or 'XML::LibXML'? [XML::LibXML] ";
+- $XML = undef;
+- $answer = <STDIN>;
+- print "\n";
+- if ($answer =~ m/^XML::Parser$/i) {
+- $XML = 'XML::Parser';
+- %req_modules = (%req_modules, $XML => $xmlparser_version);
+- } elsif ($answer =~ m/^\s*$/ || $answer =~ m/^XML::LibXML$/i) {
++#print "\n";
++#print " NOTE: Next versions will, possibly, deprecate XML::Parser backend.\n";
++#print " At the moment, XML::LibXML is quicker than XML::Parser and\n";
++#print " supports HTML parsing\n\n";
++#
++#print "I need a XML Back-end (XML::Parser >= $xmlparser_version or XML::LibXML >= $xmllibxml_version\n";
++#do {
++# print "Sorry, I didn't understand the answer.\n" if ($answer);
++# print "Should I use 'XML::Parser' or 'XML::LibXML'? [XML::LibXML] ";
++# $XML = undef;
++# $answer = <STDIN>;
++# print "\n";
++# if ($answer =~ m/^XML::Parser$/i) {
++# $XML = 'XML::Parser';
++# %req_modules = (%req_modules, $XML => $xmlparser_version);
++# } elsif ($answer =~ m/^\s*$/ || $answer =~ m/^XML::LibXML$/i) {
+ $XML = 'XML::LibXML';
+ %req_modules = (%req_modules, $XML => $xmllibxml_version);
+- }
+-} until defined $XML;
++# }
++#} until defined $XML;
+
+ my $pattern = uc($XML);
+
diff -ruN /usr/ports/textproc/p5-XML-DT/pkg-plist ./p5-XML-DT/pkg-plist
--- /usr/ports/textproc/p5-XML-DT/pkg-plist Fri Jun 7 03:56:42 2002
+++ ./p5-XML-DT/pkg-plist Mon Oct 13 20:57:39 2003
@@ -1,51 +1,6 @@
bin/mkdtskel
+bin/mkdtdskel
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/DT/.packlist
lib/perl5/site_perl/%%PERL_VER%%/XML/DT.pm
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex1.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex1.xml
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex2.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex2.xml
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex3.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex3.xml
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex4.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex4.xml
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex5.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex5.xml
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex6.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex6.xml
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex7.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex7.xml
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex8.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath/ex8.xml
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/10nov.sgm
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/README
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/arq.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/arq.xml
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex.xml
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex1.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex10.1.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex10.2.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex10.2.xml
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex10.3.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex10.3.xml
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex11.1.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex11.1.xml
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex11.5.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex11.5.xml
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex2.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex3.xml
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex5.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex6.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/ex7.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/gcapaper2tex.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/jj.dtd
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/lat1.html
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/makefile
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/makenewexample
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/pub.pl
-lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/publico.dtd
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/DT
- at dirrm lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples/XPath
- at dirrm lib/perl5/site_perl/%%PERL_VER%%/XML/DT/examples
- at dirrm lib/perl5/site_perl/%%PERL_VER%%/XML/DT
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list