Ticket #49126: class-dump.diff
File class-dump.diff, 1.3 KB (added by ryandesign (Ryan Carsten Schmidt), 9 years ago) |
---|
-
Portfile
3 3 4 4 PortSystem 1.0 5 5 PortGroup xcode 1.0 6 PortGroup xcodeversion 1.0 6 7 7 8 name class-dump 8 9 version 3.5 … … 26 27 # error: -fobjc-arc is not supported on platforms using the legacy runtime 27 28 supported_archs x86_64 28 29 29 worksrcdir ${distname}/src30 build.dir ${worksrcpath}/src 30 31 31 32 # 3.5+ must be built against the 10.9 SDK, as it requires LC_* constants 32 33 # and other definitions unavailable in earlier SDKs. It will, however, 33 34 # run against 10.8+. 34 configure.sdkroot "$developer_dir/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk" 35 minimum_xcodeversions {12 5} 36 if {${configure.sdk_version} eq "10.8"} { 37 configure.sdk_version 10.9 38 } 39 35 40 xcode.target class-dump deprotect 36 37 41 xcode.configuration Release 38 42 xcode.destroot.path ${prefix}/bin 39 43 … … 45 49 } 46 50 47 51 post-destroot { 48 set docdir ${prefix}/share/doc/${ name}52 set docdir ${prefix}/share/doc/${subport} 49 53 xinstall -d ${destroot}${docdir} 50 xinstall -m 644 ${worksrcpath}/ ../README.md ${destroot}${docdir}54 xinstall -m 644 ${worksrcpath}/README.md ${destroot}${docdir} 51 55 52 56 delete ${destroot}${prefix}/bin/libMachObjC.a 53 57 }