# $Id$

PortSystem 1.0
PortGroup xcode 1.0

name                otx
svn.revision        560
version             0.16b-r${svn.revision}
categories          devel sysutils
license             public-domain
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/

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.url       ${svn.url}
livecheck.regex     Revision (\\d+):
livecheck.version   ${svn.revision}