freebsd-ports/devel/p5-Test-BinaryData/Makefile
Sunpoet Po-Chuan Hsieh 45bb1fffef - Add p5-Test-BinaryData 0.013
Sometimes using Test::More's is test isn't good enough. Its diagnostics may make
it easy to miss differences between strings. By using is_binary instead of is,
the "!" tells us that the lines differ, and we can quickly scan the bytes that
make up the line to see which differ. When comparing very long strings, we can
stop after we've seen a few differences.

WWW: http://search.cpan.org/dist/Test-BinaryData/
2011-12-15 07:13:01 +00:00

29 lines
635 B
Makefile

# New ports collection makefile for: p5-Test-BinaryData
# Date created: 2011-12-15
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Test-BinaryData
PORTVERSION= 0.013
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Compare two things, give hex dumps if they differ
TEST_DEPENDS= p5-Test-Tester>=0.10.7:${PORTSDIR}/devel/p5-Test-Tester
PERL_CONFIGURE= yes
MAN3= Test::BinaryData.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501400
TEST_DEPENDS+= p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>