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

Last change on this file since 144565 was 144565, checked in by mojca@…, 4 years ago

p5-*: remove 5.16 .. 5.20 from subports (#50245)

  • 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 144565 2016-01-12 21:45:09Z mojca@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.22
8perl5.setup         ExtUtils-MakeMaker 7.10
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
17checksums           rmd160  18c69485dc070a8da71a6440bf811ca04c5565e5 \
18                    sha256  83b76cd49e458a55774e2e8d87bd1107bc159ba4219600c8ef10c6b43b0d94c5
19
20perl5.link_binaries no
21if {${perl5.major} != ""} {
22    depends_lib-append \
23                    port:p${perl5.major}-cpan-meta-requirements \
24                    port:p${perl5.major}-extutils-manifest
25
26    configure.env   BUILDING_AS_PACKAGE=1
27
28    pre-activate {
29        # As of version 7.0.8 this port provides its own version of previous dependency p5-extutils-command
30        # deactivate conflicting p5-extutils-command if active
31        if {![catch {set vers [lindex [registry_active p${perl5.major}-extutils-command] 0]}]} {
32            registry_deactivate_composite p${perl5.major}-extutils-command "" [list ports_nodepcheck 1]
33        }
34    }
35
36    supported_archs noarch
37}
Note: See TracBrowser for help on using the repository browser.