# $Id: Portfile,v 1.8 2004/02/03 00:30:06 waqar Exp $ PortSystem 1.0 name class-dump version 2.1.5 categories devel maintainers waqar@opendarwin.org description Utility for examining the Objective-C segment of Mach-O files. long_description \ Utility for examining the Objective-C segment of Mach-O files. \ It generates the @interface and @protocol declarations for \ classes, categories and protocols. homepage http://homepage.mac.com/nygard/Projects/ platforms darwin master_sites http://homepage.mac.com/nygard/Software/ distname ${name}-${version}-P-bs checksums md5 4c41a21c94b4bf2c243e51d7f50f9f3a worksrcdir ${name}.${version}/src patch { reinplace "s|__APPLE_CPP__|__APPLE__|g" \ "${workpath}/${worksrcdir}/my_regex.h" reinplace "s|__APPLE_CPP__|__APPLE__|g" \ "${workpath}/${worksrcdir}/my_regex.c" } use_configure no build.type pbx build.target destroot { system "cd ${worksrcpath}/build && install -m 555 \ class-dump ${destroot}${prefix}/bin/" }