# $Id: Portfile 87203 2011-11-14 05:58:57Z jmr@macports.org $

PortSystem 1.0
PortGroup xcode 1.0

name                otx
version             0.16b
# setting revision to svn.revision was a bad idea...
revision            557
categories          devel sysutils
maintainers         nomaintainer
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/
# master_sites        
fetch.type          svn
svn.url             http://otx.osxninja.com/builds/trunk/
svn.revision        556

# checksums           md5 MD5SUM \
#                     sha1 SHA1SUM
worksrcdir          trunk

supported_archs     i386 ppc
xcode.configuration Release

post-destroot {
    move ${destroot}${applications_dir}/otx ${destroot}${prefix}/bin/
}

# depends on otool but that's not part of MacPorts
livecheck.type      regex
livecheck.regex     {<a href="files/otx.dmg">otx (.*?)</a>}
livecheck.version   ${version}
