Portfile

# $Id: Portfile 21855 2007-02-10 16:50:41Z rhwood@macports.org $

PortSystem 1.0
name AppKiDo
version 0.961
categories aqua devel
platforms darwin
maintainers eridius@macports.org
description Provides a powerful interface to Apple's Cocoa documentation
long_description \
AppKiDo is a free reference tool for Cocoa Objective-C \
programmers. It parses the header files and HTML \
documentation files provided by Developer Tools and \
presents the results in a powerful interface.
homepage http://homepage.mac.com/aglee/downloads/
master_sites ${homepage}
distname ${name}-${version}-src
extract.suffix .tgz
worksrcdir ${name}
checksums md5 0c89571d782c06e02b5257888c8c64e5 \
sha1 3ba8ef033ea0ccfb7ccb3804143bf4a500dd4137

use_configure no
build.type pbx
build.target -target AppKiDo
build.args -buildstyle Deployment build SYMROOT=build/ OBJROOT=build/

set xcodebuilddir build
platform darwin 8 {
if {$xcodeversion == "2.1"} {
set xcodebuilddir build/Deployment
}
}

destroot {
xinstall -m 755 -d ${destroot}/Applications/MacPorts/
file copy ${worksrcpath}/${xcodebuilddir}/AppKiDo.app \
${destroot}/Applications/MacPorts
}