source: trunk/dports/devel/darwinbuild/Portfile @ 97217

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

darwinbuild: version 33

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