# $Id: Portfile,v 1.5 2005/07/04 04:37:49 pguyot Exp $

PortSystem 1.0

name			BwanaDik
version			1.3
categories		aqua net
platforms		darwin
maintainers		darwinports@opendarwin.org
homepage		http://www.jschilling.net/sw_bwanadik.php
description		IP address (WAN and LAN) reporter.

long_description	${description}
			
			
master_sites		http://uselessapps.crazyideas.info/software/
checksums		md5 9d9eaea7c77bc384564384000ff45798

distname		${name}Source
use_zip			yes

use_configure		no

build.type		pbx
build.args              -buildstyle Deployment
build.target            -project BwanaDik.xcode -target BwanaDik

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

destroot {		set appPath ${destroot}/Applications/DarwinPorts
			file mkdir ${appPath}
			file copy "${worksrcpath}/${appdir}/${name}.app" ${appPath}
			}

