source: trunk/dports/perl/p5-extutils-makemaker/Portfile

Last change on this file was 154393, checked in by mojca@…, 13 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         ExtUtils-MakeMaker 7.24
9license             {Artistic-1 GPL}
10maintainers         nomaintainer
11description         Create a module Makefile
12long_description    This utility is designed to write a Makefile for an \
13                    extension module from a Makefile.PL.
14
15platforms           darwin
16
17
18checksums           rmd160  a77174c6aed95a8736ecfc288fee89d15f830acb \
19                    sha256  416abc97c3bb2cc72bef28852522f2859de53e37bf3d0ae8b292067d78755e69
20
21perl5.link_binaries no
22if {${perl5.major} != ""} {
23    depends_lib-append \
24                    port:p${perl5.major}-cpan-meta-requirements \
25                    port:p${perl5.major}-extutils-manifest
26
27    configure.env   BUILDING_AS_PACKAGE=1
28
29    pre-activate {
30        # As of version 7.0.8 this port provides its own version of previous dependency p5-extutils-command
31        # deactivate conflicting p5-extutils-command if active
32        if {![catch {set vers [lindex [registry_active p${perl5.major}-extutils-command] 0]}]} {
33            registry_deactivate_composite p${perl5.major}-extutils-command "" [list ports_nodepcheck 1]
34        }
35    }
36
37    supported_archs noarch
38}
Note: See TracBrowser for help on using the repository browser.