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

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

p5-extutils-makemaker: update to version 7.12.

  • 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 147929 2016-04-20 17:34:10Z devans@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.22
8perl5.setup         ExtUtils-MakeMaker 7.12
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  55a50218449883c33cdad8bb67942f59a3014f93 \
18                    sha256  44eb08b65c33be0916e660c9fbc5d97c5d337131630271b08a98abf6fe1d62e1
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.