source: trunk/dports/devel/smake/Portfile @ 102174

Last change on this file since 102174 was 102174, checked in by jeremyhu@…, 7 years ago

misc: Update compiler dependency workaround for #32542, see #37817

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 102174 2013-01-29 07:53:39Z jeremyhu@macports.org $
2
3PortSystem 1.0
4PortGroup  compiler_blacklist_versions 1.0
5
6name                    smake
7version                 1.2.2
8categories              devel
9platforms               darwin
10maintainers             mww
11license                 CDDL
12description             highly portable make program with automake features
13long_description        Smake is a highly portable make program with automake \
14                                features. It is currently mainly targeted to be used \
15                                with the makefiles system.
16
17homepage                http://cdrecord.berlios.de/old/private/smake.html
18master_sites    ftp://ftp.berlios.de/pub/smake/
19use_bzip2               yes
20
21checksums           md5     fc967177a6cb91a752df4c93526e480e \
22                    sha1    abd5a99a6fe588afa31246f3d686c686c75bb953 \
23                    rmd160  5fad8d892893a93c9897d5a51da25a42ecca9ba5
24
25use_configure   no
26
27# https://trac.macports.org/ticket/31616
28compiler.blacklist-append llvm-gcc-4.2 {clang < 318}
29
30# TODO: base should do this: http://trac.macports.org/ticket/32542
31if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
32    depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
33
34    # base 2.1.x ignores the argument and just use ${configure.compiler}
35    if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
36        depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
37    }
38
39    if {[string match macports-gcc* ${configure.compiler}]} {
40        depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
41    }
42}
43
44build.type              gnu
45build.args      CC=${configure.cc}
46use_parallel_build  no
47
48destroot.destdir        INS_BASE=${destroot}${prefix} \
49                                        MANDIR=man \
50                                        INSUSR=`id -u` INSGRP=`id -g`
51post-destroot   {
52        file delete -force ${destroot}${prefix}/share/man/man5 \
53                ${destroot}${prefix}/lib ${destroot}${prefix}/include
54}
55
56livecheck.type  regex
57livecheck.url   [lindex ${master_sites} 0]
58livecheck.regex ${name}-(\[0-9.]\+)\\.tar
Note: See TracBrowser for help on using the repository browser.