Index: head/textproc/p5-XML-Canonical/files/patch-Makefile.PL =================================================================== --- head/textproc/p5-XML-Canonical/files/patch-Makefile.PL (revision 394493) +++ head/textproc/p5-XML-Canonical/files/patch-Makefile.PL (nonexistent) @@ -1,10 +0,0 @@ ---- Makefile.PL.orig Sun Jul 15 16:00:28 2007 -+++ Makefile.PL Sun Jul 15 16:00:31 2007 -@@ -17,7 +17,6 @@ - print "running gdome-config... "; - my $ver = backtick('gdome-config --version'); - my ($major, $minor, $point) = $ver =~ /(\d+).(\d+)\.(\d+)/g; -- die "VERSION" unless $major == 0 && $minor == 7 && $point == 1; - $config{LIBS} ||= backtick('gdome-config --libs'); - $config{INC} ||= backtick('gdome-config --cflags'); - print "ok\n"; Property changes on: head/textproc/p5-XML-Canonical/files/patch-Makefile.PL ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/textproc/p5-XML-Canonical/Makefile =================================================================== --- head/textproc/p5-XML-Canonical/Makefile (revision 394493) +++ head/textproc/p5-XML-Canonical/Makefile (revision 394494) @@ -1,24 +1,30 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= XML-Canonical PORTVERSION= 0.10 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Perl Implementation of Canonical XML LICENSE= ART10 GPLv1 LICENSE_COMB= dual BUILD_DEPENDS= p5-XML-GDOME>=0:${PORTSDIR}/textproc/p5-XML-GDOME LIB_DEPENDS= libgdome.so:${PORTSDIR}/textproc/gdome2 RUN_DEPENDS:= ${BUILD_DEPENDS} USE_PERL5= configure USES= perl5 pkgconfig + +post-patch: + @${REINPLACE_CMD} -e '/die "VERSION" unless /d' ${WRKSRC}/Makefile.PL + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/XML/Canonical/Canonical.so .include