source: trunk/dports/perl/p5-test-simple/Portfile

Last change on this file was 154393, checked in by mojca@…, 9 months ago

p5-*: remove subports for perl5.22 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# -*- 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
2# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.24
8perl5.setup         Test-Simple 1.302062
9platforms           darwin
10supported_archs     noarch
11maintainers         devans openmaintainer
12license             {Artistic-1 GPL}
13
14description         Framework for writing test tools that all work together.
15long_description    ${description} Now includes new Test2 as preferred test framework.
16
17checksums           rmd160  ed570543e220c0e27f61a9f974ba5fa7b4a6f85e \
18                    sha256  6729060d4ab12e2db3a3c6d6376ee6a9fb77c0ba0308b66919365a1e8bf156ea
19
20if {${perl5.major} != ""} {
21
22   # Test2, now part of this module, was previously provided by separate port p5-test2
23   # deactivate old conflicting p5-test2 before activation
24
25    pre-activate {
26        set pname p${perl5.major}-test2
27        if {![catch {set installed [lindex [registry_active $pname] 0]}]} {
28            registry_deactivate_composite $pname "" [list ports_nodepcheck 1]
29        }
30    }
31
32    supported_archs noarch
33}
Note: See TracBrowser for help on using the repository browser.