source: trunk/dports/devel/darwinbuild/Portfile

Last change on this file was 103245, checked in by larryv@…, 4 years ago

darwinbuild: Revbump to link against tcl8.6 (maintainer timeout, #38043).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 103245 2013-02-19 10:11:38Z ryandesign@macports.org $
2
3PortSystem      1.0
4PortGroup       xcode 1.0
5
6name            darwinbuild
7version         33
8revision        1
9categories      devel
10platforms       darwin
11maintainers     wms
12license         BSD
13description     Darwinbuild is a set of tools that facilitate building the sources \
14                released by Apple.
15
16long_description \
17                The Darwin Build Scripts are a collection of tools that assist compilation of \
18                the many projects contained in Darwin, the open source base of Apple's \
19                Mac OS X operating system.  Apple publishes the sources of these projects \
20                in an archive format (.tar.gz).  An archive is published for each project \
21                version on Apple's site. These tools will provide the proper build environment \
22                as well as help to resolve any necessary dependencies prior to building.
23
24homepage        http://darwinbuild.macosforge.org/
25master_sites    http://svn.macosforge.org/repository/darwinbuild/
26
27fetch.type      svn
28svn.url         ${master_sites}tags/${distname}
29svn.revision    HEAD
30worksrcdir      ${distname}
31
32depends_lib-append      port:sqlite3 \
33                        port:tcl
34
35xcode.configuration     Public
36xcode.target            world
37xcode.build.settings    PREFIX=${prefix}
38xcode.destroot.settings PREFIX=${prefix} \
39                        LIBRARY_SEARCH_PATHS=${prefix}/lib \
40                        HEADER_SEARCH_PATHS=${prefix}/include \
41                        FRAMEWORK_SEARCH_PATHS=${frameworks_dir}
42xcode.destroot.type     none
43
44default_variants +universal
45
46variant universal {
47        set xcode.universal.settings    ""
48        set xcode.universal.sdk         ""
49}
50
51pre-fetch {
52        if {${os.major} < 10} {
53                return -code error "The ${name} port is only for Darwin 10. For Darwin\
54                                    8 & 9 support, install the darwinbuild-legacy port."
55        }
56        if {![variant_isset universal]} {
57                return -code error "You must install ${name} with the universal variant.\
58                                    Try running `port install ${name} +universal` "
59        }       
60}
61
62platform darwin 9 {
63        replaced_by     darwinbuild-legacy
64}
65
66platform darwin 8 {
67        replaced_by     darwinbuild-legacy
68}
69
Note: See TracBrowser for help on using the repository browser.