View | Details | Raw Unified | Return to bug 92345
Collapse All | Expand All

(-)Makefile (-8 / +9 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	Data-Dump-Streamer
8
PORTNAME=	Data-Dump-Streamer
9
PORTVERSION=	1.14
9
PORTVERSION=	1.14
10
PORTREVISION=	1
10
CATEGORIES=	devel perl5
11
CATEGORIES=	devel perl5
11
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
12
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
12
MASTER_SITE_SUBDIR=	Data
13
MASTER_SITE_SUBDIR=	Data
Lines 15-37 Link Here
15
MAINTAINER=	mat@FreeBSD.org
16
MAINTAINER=	mat@FreeBSD.org
16
COMMENT=	Stream a highly accurate breadth first data dump in perl code form to a var or file
17
COMMENT=	Stream a highly accurate breadth first data dump in perl code form to a var or file
17
18
18
BUILD_DEPENDS=	${SITE_PERL}/Algorithm/Diff.pm:${PORTSDIR}/devel/p5-Algorithm-Diff \
19
RUN_DEPENDS=	${SITE_PERL}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced \
19
		${SITE_PERL}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced \
20
		${SITE_PERL}/B/BUtils.pm:${PORTSDIR}/devel/p5-Module-Info
20
		${SITE_PERL}/B/Utils.pm:${PORTSDIR}/devel/p5-Module-Info
21
BUILD_DEPENDS=	${RUN_DEPENDS}
21
RUN_DEPENDS=	${BUILD_DEPENDS}
22
BUILD_DEPENDS+=	${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
22
23
23
PERL_CONFIGURE=	yes
24
PERL_CONFIGURE=	yes
24
CONFIGURE_ARGS=	DDS
25
CONFIGURE_ARGS=	DDS
25
26
26
MAN3=		DDS.3 Data::Dump::Streamer.3
27
MAN3=		DDS.3 Data::Dump::Streamer.3
27
28
29
post-patch:
30
	${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e 's,B::Utils,B::BUtils,g'
31
28
.include <bsd.port.pre.mk>
32
.include <bsd.port.pre.mk>
29
33
30
.if ${PERL_LEVEL} < 500801
31
BUILD_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${PORTSDIR}/devel/p5-Data-Dumper
32
.endif
33
.if ${PERL_LEVEL} < 500600
34
.if ${PERL_LEVEL} < 500600
34
IGNORE="Need at least perl 5.6 to build"
35
IGNORE=	reqiores perl 5.6 or above
35
.endif
36
.endif
36
37
37
.include <bsd.port.post.mk>
38
.include <bsd.port.post.mk>

Return to bug 92345