/
Portfile
41 lines (34 loc) · 1.55 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# -*- 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-Future-IO-Impl 0.14
revision 0
license {Artistic-1 GPL}
maintainers {devans @dbevans} openmaintainer
description Test::Future::IO::Impl - acceptance tests for Future::IO implementations
long_description {*}${description}
platforms {darwin any}
supported_archs noarch
checksums rmd160 cec7d1061fc70328b8ef96ab4c928ec773a29560 \
sha256 007db619d3d49634325c56efbca0e1e5576dd33f79455f2dea595be6edf8e235 \
size 12467
if {${perl5.major} != ""} {
depends_lib-append \
port:p${perl5.major}-test2-suite \
port:p${perl5.major}-time-hires
# Before version 0.14 this port was part of p5-future-io but is now
# packaged separately. Deactivate p${perl5.major}-future-io if the
# installed version is less than 0.14 to avoid any activation conflict
pre-activate {
set pname p${perl5.major}-future-io
if {![catch {set installed [lindex [registry_active $pname] 0]}]} {
set _installed [lindex $installed 1]
set _desired [join {0 140 0} "."]
if {[vercmp ${_installed} ${_desired}] < 0} {
registry_deactivate_composite $pname "" [list ports_nodepcheck 1]
}
}
}
perl5.use_module_build
}