aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Handler-Trees
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-XML-Handler-Trees')
-rw-r--r--textproc/p5-XML-Handler-Trees/Makefile11
-rw-r--r--textproc/p5-XML-Handler-Trees/distinfo2
-rw-r--r--textproc/p5-XML-Handler-Trees/pkg-descr4
-rw-r--r--textproc/p5-XML-Handler-Trees/pkg-plist14
4 files changed, 13 insertions, 18 deletions
diff --git a/textproc/p5-XML-Handler-Trees/Makefile b/textproc/p5-XML-Handler-Trees/Makefile
index 97cd0f59c3c..c918350add7 100644
--- a/textproc/p5-XML-Handler-Trees/Makefile
+++ b/textproc/p5-XML-Handler-Trees/Makefile
@@ -6,25 +6,20 @@
#
PORTNAME= XML-Handler-Trees
-PORTVERSION= 0.01
+PORTVERSION= 0.02
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
-MAINTAINER= skv@protey.ru
+MAINTAINER= skv@FreeBSD.org
COMMENT= PerlSAX handlers for building tree structures
-BUILD_DEPENDS= dos2unix:${PORTSDIR}/converters/unix2dos
-
PERL_CONFIGURE= yes
MAN3= XML::Handler::Trees.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-
post-extract:
- @${FIND} ${WRKSRC} -type f -name "*.p[lm]" | ${XARGS} ${CHMOD} +w
- @${FIND} ${WRKSRC} -type f -name "*.p[lm]" | ${XARGS} dos2unix -p
+ @${CHMOD} +w ${WRKSRC}/Trees.pm && ${PERL} -pi -e 's|\r||' ${WRKSRC}/Trees.pm
.include <bsd.port.mk>
diff --git a/textproc/p5-XML-Handler-Trees/distinfo b/textproc/p5-XML-Handler-Trees/distinfo
index 63494c7ce22..3bd7f274659 100644
--- a/textproc/p5-XML-Handler-Trees/distinfo
+++ b/textproc/p5-XML-Handler-Trees/distinfo
@@ -1 +1 @@
-MD5 (XML-Handler-Trees-0.01.tar.gz) = e604b5082113fbbddf6e42a86736b617
+MD5 (XML-Handler-Trees-0.02.tar.gz) = 6b88dc45bc1e2c03e88810e5e87d15bc
diff --git a/textproc/p5-XML-Handler-Trees/pkg-descr b/textproc/p5-XML-Handler-Trees/pkg-descr
index 4673a52a02a..da3cfb0636f 100644
--- a/textproc/p5-XML-Handler-Trees/pkg-descr
+++ b/textproc/p5-XML-Handler-Trees/pkg-descr
@@ -7,7 +7,7 @@ of tree as Sean M. Burke's XML::TreeBuilder. These classes make it
possible to construct these tree structures from sources other than
XML::Parser.
-WWW: http://search.cpan.org/search?dist=XML-Handler-Trees
+WWW: http://search.cpan.org/dist/XML-Handler-Trees/
-- Sergey Skvortsov
-skv@protey.ru
+skv@FreeBSD.org
diff --git a/textproc/p5-XML-Handler-Trees/pkg-plist b/textproc/p5-XML-Handler-Trees/pkg-plist
index 5f47091d396..54e137f21bd 100644
--- a/textproc/p5-XML-Handler-Trees/pkg-plist
+++ b/textproc/p5-XML-Handler-Trees/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Handler/Trees/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/XML/Handler/Trees.pm
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML/Handler 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Handler/Trees
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Handler 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Handler/Trees/.packlist
+%%SITE_PERL%%/XML/Handler/Trees.pm
+@unexec rmdir %D/%%SITE_PERL%%/XML/Handler 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Handler/Trees
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Handler 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true