aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Twig
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2004-05-21 17:26:30 +0800
committermat <mat@FreeBSD.org>2004-05-21 17:26:30 +0800
commit3647b3d89b446c941f57de2f69c4e1fcce25b91c (patch)
tree1d5f3210f19d7e2ea8aeb7c3b9cfbbade393ba01 /textproc/p5-XML-Twig
parente7f369e1d0b1cf78b9f75c10f5fabf2e5ee6fa3f (diff)
downloadfreebsd-ports-graphics-3647b3d89b446c941f57de2f69c4e1fcce25b91c.tar.gz
freebsd-ports-graphics-3647b3d89b446c941f57de2f69c4e1fcce25b91c.tar.zst
freebsd-ports-graphics-3647b3d89b446c941f57de2f69c4e1fcce25b91c.zip
Update to 3.15
PR: 65708 Submitted by: Lars Eggert <lars.eggert@gmx.net> Approved by: maintainer timeout
Diffstat (limited to 'textproc/p5-XML-Twig')
-rw-r--r--textproc/p5-XML-Twig/Makefile23
-rw-r--r--textproc/p5-XML-Twig/distinfo4
-rw-r--r--textproc/p5-XML-Twig/pkg-plist8
3 files changed, 29 insertions, 6 deletions
diff --git a/textproc/p5-XML-Twig/Makefile b/textproc/p5-XML-Twig/Makefile
index edd930c1f20..d7d4e7de69d 100644
--- a/textproc/p5-XML-Twig/Makefile
+++ b/textproc/p5-XML-Twig/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= XML-Twig
-PORTVERSION= 3.09
+PORTVERSION= 3.15
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
@@ -18,10 +18,27 @@ COMMENT= Process huge XML documents by chunks via a tree interface
# On Perl < 5.8.0, XML::Twig has a further optional dependency on WeakRef.
# However, WeakRef needs Perl 5.005_55.
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \
- ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+ ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
+ ${SITE_PERL}/Tie/IxHash.pm:${PORTSDIR}/devel/p5-Tie-IxHash \
+ ${SITE_PERL}/XML/Handler/YAWriter.pm:${PORTSDIR}/textproc/p5-XML-Handler-YAWriter \
+ ${SITE_PERL}/XML/SAX/Writer.pm:${PORTSDIR}/textproc/p5-XML-SAX-Writer \
+ ${SITE_PERL}/XML/XPath.pm:${PORTSDIR}/textproc/p5-XML-XPath \
+ ${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \
+ ${SITE_PERL}/IO/Stringy.pm:${PORTSDIR}/devel/p5-IO-stringy \
+ ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww
+RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= YES
+MAN1= xml_grep.1 xml_pp.1 xml_spellcheck.1
MAN3= XML::Twig.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+post-patch:
+ @${PERL} -pi -e '$$_ = "" if /warnings/' \
+ ${WRKSRC}/Twig/XPath.pm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-XML-Twig/distinfo b/textproc/p5-XML-Twig/distinfo
index e22f804f5c7..e2850198a6f 100644
--- a/textproc/p5-XML-Twig/distinfo
+++ b/textproc/p5-XML-Twig/distinfo
@@ -1,2 +1,2 @@
-MD5 (XML-Twig-3.09.tar.gz) = ebf57e5800cd2c847a01e47fb03e1875
-SIZE (XML-Twig-3.09.tar.gz) = 157584
+MD5 (XML-Twig-3.15.tar.gz) = b26886b8bd19761fff37b23e4964b499
+SIZE (XML-Twig-3.15.tar.gz) = 245672
diff --git a/textproc/p5-XML-Twig/pkg-plist b/textproc/p5-XML-Twig/pkg-plist
index 3ed98146dbd..76cbfbccede 100644
--- a/textproc/p5-XML-Twig/pkg-plist
+++ b/textproc/p5-XML-Twig/pkg-plist
@@ -1,4 +1,10 @@
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Twig/.packlist
+bin/xml_grep
+bin/xml_pp
+bin/xml_spellcheck
%%SITE_PERL%%/XML/Twig.pm
+%%SITE_PERL%%/XML/Twig/XPath.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Twig/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Twig
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true
+@dirrm %%SITE_PERL%%/XML/Twig
@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true