# $Id$ PortSystem 1.0 name otx version 0.16b_dev categories devel sysutils maintainers eridius description otool's bastard son long_description {otx stands for "object tool extended". otx uses otool(object tool) to disassemble a Mach-O executable file, then enhances the disassembled output. Simple enhancements include adding the machine code of each instruction and the offset of each instruction from the beginning of a function. More complicated enhancements include displaying the names and data types of Objective-C methods even if symbols have been stripped, and adding comments that describe member variables, function calls, static data and more.} homepage http://otx.osxninja.com/ platforms darwin # master_sites fetch.type svn svn.args -r 288 svn.url http://otx.osxninja.com/builds/trunk/ # checksums md5 MD5SUM \ # sha1 SHA1SUM # distname ${name}-${version} # extract.suffix .tar.gz worksrcdir trunk # depends on otool but that's not part of MacPorts livecheck.check regex livecheck.regex {otx (.*?)} livecheck.version 0.16b use_configure no build { system "cd ${worksrcpath} && xcodebuild -target 'otx gui' -configuration Release build SRCROOT=build/ OBJROOT=build/" system "cd ${worksrcpath} && xcodebuild -target 'otx cli' -configuration Release build SRCROOT=build/ OBJROOT=build/" } destroot { system "cd ${worksrcpath} && xcodebuild -target 'otx gui' -configuration Release install SRCROOT=build/ OBJROOT=build/ DSTROOT=${destroot} INSTALL_PATH=/Applications/MacPorts" system "cd ${worksrcpath} && xcodebuild -target 'otx cli' -configuration Release install SRCROOT=build/ OBJROOT=build/ DSTROOT=${destroot} INSTALL_PATH=${prefix}/bin" }