Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/p5-Data-Dump-Streamer/Makefile,v retrieving revision 1.5 diff -u -u -r1.5 Makefile --- Makefile 30 Aug 2005 11:24:43 -0000 1.5 +++ Makefile 26 Jan 2006 06:05:03 -0000 @@ -7,6 +7,7 @@ PORTNAME= Data-Dump-Streamer PORTVERSION= 1.14 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Data @@ -15,23 +16,23 @@ MAINTAINER= mat@FreeBSD.org COMMENT= Stream a highly accurate breadth first data dump in perl code form to a var or file -BUILD_DEPENDS= ${SITE_PERL}/Algorithm/Diff.pm:${PORTSDIR}/devel/p5-Algorithm-Diff \ - ${SITE_PERL}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced \ - ${SITE_PERL}/B/Utils.pm:${PORTSDIR}/devel/p5-Module-Info -RUN_DEPENDS= ${BUILD_DEPENDS} +RUN_DEPENDS= ${SITE_PERL}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced \ + ${SITE_PERL}/B/BUtils.pm:${PORTSDIR}/devel/p5-Module-Info +BUILD_DEPENDS= ${RUN_DEPENDS} +BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple PERL_CONFIGURE= yes CONFIGURE_ARGS= DDS MAN3= DDS.3 Data::Dump::Streamer.3 +post-patch: + ${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e 's,B::Utils,B::BUtils,g' + .include -.if ${PERL_LEVEL} < 500801 -BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${PORTSDIR}/devel/p5-Data-Dumper -.endif .if ${PERL_LEVEL} < 500600 -IGNORE="Need at least perl 5.6 to build" +IGNORE= reqiores perl 5.6 or above .endif .include