You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
41 lines
1.4 KiB
Tcl
41 lines
1.4 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup perl5 1.0
|
|
|
|
perl5.branches 5.28 5.30 5.32 5.34
|
|
perl5.setup Test-Strict 0.54
|
|
license {Artistic-1 GPL}
|
|
maintainers nomaintainer
|
|
description Test::Strict - Check syntax, presence of 'use strict' and test coverage
|
|
long_description {*}${description}
|
|
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
|
|
checksums rmd160 2a2432d2543e1738de8ddcdf69d7cb0d7647eabb \
|
|
sha256 f6807517823a90a96b40deeaed9aa080082ded4b50a51204f5be1e7ce774c85c \
|
|
size 20923
|
|
|
|
if {${perl5.major} != ""} {
|
|
depends_build-append \
|
|
port:p${perl5.major}-cpan-changes \
|
|
port:p${perl5.major}-devel-cover \
|
|
port:p${perl5.major}-io-stringy \
|
|
port:p${perl5.major}-test-distmanifest \
|
|
port:p${perl5.major}-test-pod \
|
|
port:p${perl5.major}-test-pod-coverage \
|
|
port:p${perl5.major}-test-version
|
|
|
|
patchfiles patch-cover-path.diff
|
|
|
|
# enable coverage test using Devel::Cover
|
|
post-patch {
|
|
reinplace "s|__COVER_PATH__|${prefix}/bin/cover-${perl5.major}|" \
|
|
${worksrcpath}/t/04cover.t
|
|
}
|
|
|
|
test.env-append \
|
|
CHECK_COVERAGE=1
|
|
}
|