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

PortSystem 1.0

name		Affiche
version		0.6.0
categories	aqua
platforms	darwin
maintainers	mww@opendarwin.org
description	Sticky notes for your desktop
long_description	Affiche is a little application that allows people to \
			'stick' little notes on their computer desktop. It \
			works well under GNUstep and under Apple Mac OS X.

homepage	http://www.collaboration-world.com/affiche/
master_sites	http://www.collaboration-world.com/affiche.data/releases/Stable/
checksums	md5 6c7ad52544579594b20ca7c86954042e

use_configure	no

build.type	pbx
build.dir	${workpath}/${name}
build.target	-buildstyle Deployment

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

destroot	{
	file mkdir ${destroot}/Applications/DarwinPorts
	file copy ${build.dir}/${xcodebuilddir}/${name}.app \
		${destroot}/Applications/DarwinPorts
}
