source: trunk/dports/devel/darwinbuild-legacy/Portfile @ 139229

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

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
2
3PortSystem      1.0
4
5name            darwinbuild-legacy
6version         0.8.0
7revision        654
8categories      devel
9platforms       darwin
10maintainers     wms
11description     Darwinbuild is a set of tools that facilitate building the sources \
12                released by Apple.
13
14long_description \
15                The Darwin Build Scripts are a collection of tools that assist compilation of \
16                the many projects contained in Darwin, the open source base of Apple's \
17                Mac OS X operating system.  Apple publishes the sources of these projects \
18                in an archive format (.tar.gz).  An archive is published for each project \
19                version on Apple's site. These tools will provide the proper build environment as well as help to \
20                resolve any necessary dependencies prior to building.
21
22homepage        http://darwinbuild.macosforge.org/
23master_sites    http://svn.macosforge.org/repository/darwinbuild/
24
25pre-fetch {
26    if {${os.major} > 9} {
27        return -code error "The ${name} port is only for Darwin 8 and 9. For Darwin\
28                            10 and later, install the darwinbuild port."
29    }
30}
31
32platform darwin 9 {
33        worksrcdir      Darwin9
34        svn.url         ${master_sites}/releases/${worksrcdir}
35}
36
37platform darwin 8 {
38        set worksrcdir  Darwin8
39        svn.url         ${master_sites}/releases/${worksrcdir}
40}
41
42fetch.type      svn
43svn.revision    ${revision}
44
45build.post_args-append          PREFIX=${prefix}
46if {[info exists build_arch]} {
47        build.env-append                RC_CFLAGS="-arch ${build_arch}"
48}
49destroot.post_args-append       PREFIX=${prefix}
50
51depends_lib-append      port:sqlite3 \
52                        path:lib/libssl.dylib:openssl
53
54use_configure   no
55
Note: See TracBrowser for help on using the repository browser.