# $Id: Portfile,v 1.13 2006/03/11 01:59:06 markd Exp $
PortSystem		1.0

name			Platypus
version			3.2
categories		aqua devel
maintainers		darwinports@opendarwin.org
description		Program for creating application wrappers around scripts.
long_description	Platypus is a program for creating application \
			wrappers around scripts, i.e. creating MacOS X \
			applications that execute a script they are bundled \
			with. Scripts can thus be run transparently from the \
			graphical window environment without having to \
			resort to using the command line interface. It \
			supports drag and drop on created apps, running as \
			root using Authentication Manager and more.

homepage		http://sveinbjorn.sytes.net
master_sites	${homepage}/files/software/platypus/
distname		platypus${version}.src
use_zip			yes
checksums		md5 4dcfca127b1bfaecdbbc75c06641ad91
platforms		darwin

set worksrcdir		${name}

use_configure	no

build.type	pbx
build.target	-configuration Deployment -target ${name}

destroot {
	xinstall -d -m 755 ${destroot}/Applications/DarwinPorts
	system "cp -R '${worksrcpath}'/build/Deployment/${name}.app \
		${destroot}/Applications/DarwinPorts/${name}.app"
}
