# $Id: Portfile,v 1.8 2005/09/18 20:07:22 jkh Exp $

PortSystem 1.0

name			CosmicDebris
version			1.6
categories		aqua science
platforms		darwin
maintainers		darwinports@opendarwin.org
homepage		http://www.jschilling.net/sw_cosmicdebris.php
description		Aurora Borealis monitor.

long_description	CosmicDebris is an Aurora Borealis (Northern Lights) monitor \
			menu item. It monitors two internet data sources for the \
			probability of an Aurora event.
			
master_sites		http://uselessapps.crazyideas.info/software/
checksums		md5 c6c9589163b1fba01cede525e6634d65

distname		${name}Source
use_zip			yes

use_configure		no

build.type		pbx
build.args              -buildstyle Deployment
build.target            { -project "Cosmic Debris.xcode" -target "Cosmic Debris" }

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}/Cosmic Debris.app" ${appPath}
			}

