source: trunk/dports/devel/csu/Portfile

Last change on this file was 127026, checked in by mfeiri@…, 3 years ago

csu: move to DarwinX.sdk

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 127026 2014-10-19 18:03:02Z ryandesign@macports.org $
2
3PortSystem              1.0
4name                    csu
5version                 79
6revision                4
7categories              devel
8platforms               darwin
9maintainers             mfeiri
10license                 {APSL-1.1 APSL-2}
11description             Common startup and C runtime setup code
12long_description        Common startup and C runtime setup code
13homepage                http://opensource.apple.com/source/Csu/
14master_sites            http://opensource.apple.com/tarballs/Csu/
15
16distname                Csu-${version}
17checksums               rmd160  2ab6404116ff40c0e5a3c1cf6f4afc592db33fe2 \
18                        sha256  d052e1daa1f5de7fc02e7e7cb8b79ee2eeaad0f321c0a70bea4fc7217e232ec2
19
20use_configure           no
21default_variants        +universal
22build.env-append        CC='${configure.cc} -Wl,-new_linker'
23destroot.env-append     DSTROOT=${destroot}${prefix}/Developer/SDKs/Darwin${os.major}.sdk
24
25variant universal {
26    if {${os.major} == 9} {
27        configure.universal_archs ppc ppc64 i386 x86_64
28    }
29    build.env-append    RC_ARCHS='${configure.universal_archs}'
30}
31
32platform darwin 9 {
33    version             75
34    distname            Csu-${version}
35    checksums           rmd160  5ccb1772c638f495f8ab28250ed8203d82b00c13 \
36                        sha256  a038b1f51884bbca68ed9b6d6bfa4ff349658a658bacfb411545eb88dba104bc
37}
38
39livecheck.type          regex
40livecheck.regex         "Csu-(\[\\d.\]+)"
Note: See TracBrowser for help on using the repository browser.