# $Id: Portfile,v 1.2 2005/07/04 04:15:27 pguyot Exp $

PortSystem 1.0
name		AppKiDo
version		0.91
categories	aqua devel
platforms	darwin
maintainers	kevin@sb.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
worksrcdir	${name}
checksums	md5  3598bbeb963ca254a2238254df3b46a6 \
		sha1 3fa9fbb94d7024936f7754032bbfba9929999e8e

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/DarwinPorts/
	file copy ${worksrcpath}/${xcodebuilddir}/AppKiDo.app \
		${destroot}/Applications/DarwinPorts
}
