# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 118403 2014-04-01 11:45:41Z mojca@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

epoch               2
perl5.branches      5.8 5.10 5.12 5.14 5.16 5.18
perl5.setup         Test-Differences 0.61
revision            2
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Test strings and data structures and show differences \
                    if not ok
long_description    When the code you're testing returns multiple lines, \
                    records or data structures and they're just plain \
                    wrong, an equivalent to the Unix diff utility may be \
                    just what's needed.

platforms           darwin

checksums           rmd160  44a00cac73c55bb5d2f1cdd23d3d2c8ec41ca122 \
                    sha256  759b6560011b77e6713c2a5020407e1136fa5772058c8f742d70c38aed799c10

if {${perl5.major} != ""} {
# p5-data-dumper is a dependency because Data::Dumper >= 2.126 is needed; the
# versions in Perl 5.8/10/12 core are too old
depends_lib-append  port:p${perl5.major}-data-dumper \
                    port:p${perl5.major}-text-diff

perl5.use_module_build
}
