source: trunk/dports/perl/p5-test-mockobject/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.4 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-MockObject 1.20150527
9revision            1
10license             {Artistic-1 GPL}
11maintainers         nomaintainer
12supported_archs     noarch
13
14description         Perl extension for emulating troublesome interfaces
15long_description    It's a simple program that doesn't use any other \
16                    modules, and those are easy to test.
17
18platforms           darwin
19
20checksums           rmd160  b03750c3aa76335932ea7c9def79da542fb2bb31 \
21                    sha256  adf1357a9014b3a397ff7ecbf1835dec376a67a37bb2e788734a627e17dc1d98
22
23if {${perl5.major} != ""} {
24    depends_build-append \
25                    port:p${perl5.major}-cgi \
26                    port:p${perl5.major}-test-exception \
27                    port:p${perl5.major}-test-warn
28
29    depends_lib-append \
30                    port:p${perl5.major}-universal-can \
31                    port:p${perl5.major}-universal-isa
32
33# remove extraneous README.pod which installs in Test rather than Test::MockObject
34# also causes a corresponding misplaced man page to be installed
35# when 2 or more modules do this a conflict results (see Test::File) (#48104)
36
37    post-patch {
38        delete ${worksrcpath}/README.pod
39    }
40}
Note: See TracBrowser for help on using the repository browser.