1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup xcode 1.0 |
---|
5 | |
---|
6 | name class-dump |
---|
7 | version 3.3.4 |
---|
8 | license GPL-2 |
---|
9 | categories devel |
---|
10 | maintainers gmail:cedric.luthi |
---|
11 | description Utility for examining the Objective-C segment of Mach-O files. |
---|
12 | long_description It generates declarations for the classes, categories and \ |
---|
13 | protocols. This is the same information provided by using \ |
---|
14 | 'otool -ov', but presented as normal Objective-C declarations. |
---|
15 | |
---|
16 | homepage http://www.codethecode.com/projects/class-dump/ |
---|
17 | master_sites http://www.codethecode.com/download/ |
---|
18 | use_bzip2 yes |
---|
19 | |
---|
20 | checksums sha1 1e43a3cab522565b0773aab18c40b232f231c46c \ |
---|
21 | rmd160 7ed74aaadafb59215ac0cb92064073f871d3d919 |
---|
22 | |
---|
23 | patchfiles patch-dyld-info-compat.h.diff |
---|
24 | worksrcdir ${distname}/src |
---|
25 | |
---|
26 | xcode.target ${name} |
---|
27 | xcode.configuration Release |
---|
28 | xcode.destroot.path ${prefix}/bin |
---|
29 | |
---|
30 | if {${os.major} < 10} { |
---|
31 | pre-fetch { |
---|
32 | return -code error "$name requires Mac OS X 10.6 or later." |
---|
33 | } |
---|
34 | } |
---|
35 | |
---|
36 | post-destroot { |
---|
37 | set docdir ${prefix}/share/doc/${name} |
---|
38 | xinstall -d ${destroot}${docdir} |
---|
39 | xinstall -m 644 ${worksrcpath}/../README.md ${destroot}${docdir} |
---|
40 | delete ${destroot}${prefix}/bin/libMachObjC.a |
---|
41 | } |
---|
42 | |
---|
43 | livecheck.type regex |
---|
44 | livecheck.url ${homepage}changes/ |
---|
45 | livecheck.regex {Version (\d+(?:\.\d+)*) -} |
---|