Ticket #42068: class-dump-3.5.diff
File class-dump-3.5.diff, 1.9 KB (added by 0xced (Cédric Luthi), 11 years ago) |
---|
-
devel/class-dump/Portfile
4 4 PortGroup xcode 1.0 5 5 6 6 name class-dump 7 version 3. 47 version 3.5 8 8 license GPL-2 9 9 categories devel 10 maintainers nomaintainer10 maintainers gmail:cedric.luthi 11 11 description Utility for examining the Objective-C segment of Mach-O files. 12 12 long_description \ 13 13 It generates declarations for the classes, categories and \ … … 18 18 master_sites http://www.codethecode.com/download/ 19 19 use_bzip2 yes 20 20 21 checksums sha1 bc6d9542af201028ae980b9d0497b491ce98227f\22 rmd160 de5188f5c7a885d7d262475812990a26d75a7f3a21 checksums sha1 a5f21efcf3195eba3ae62b34c170a590558068a2 \ 22 rmd160 408c0baf4d384007310761585caff5e9c31a331f 23 23 24 24 worksrcdir ${distname}/src 25 25 26 # 3. 4+ must be built against the 10.8SDK, as it requires LC_* constants26 # 3.5+ must be built against the 10.9 SDK, as it requires LC_* constants 27 27 # and other definitions unavailable in earlier SDKs. It will, however, 28 # run against 10. 7+.29 configure.sdkroot "$developer_dir/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10. 8.sdk"30 xcode.target all28 # run against 10.8+. 29 configure.sdkroot "$developer_dir/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk" 30 xcode.target class-dump deprotect 31 31 32 32 xcode.configuration Release 33 33 xcode.destroot.path ${prefix}/bin 34 34 35 if {${os.major} < 1 1} {35 if {${os.major} < 12} { 36 36 pre-fetch { 37 return -code error "$name requires Mac OS X 10. 7or later."37 return -code error "$name requires Mac OS X 10.8 or later." 38 38 } 39 39 } 40 40 … … 42 42 set docdir ${prefix}/share/doc/${name} 43 43 xinstall -d ${destroot}${docdir} 44 44 xinstall -m 644 ${worksrcpath}/../README.md ${destroot}${docdir} 45 delete ${destroot}${prefix}/bin/libMachObjC.a 45 46 } 46 47 47 48 livecheck.type regex