# $Id: Portfile,v 1.7 2006/03/21 04:45:38 markd Exp $
PortSystem 1.0

name			sloth
version			1.3
categories		aqua sysutils
maintainers		darwinports@opendarwin.org
description		Program that displays a list of open files by applications
long_description	Sloth is a program that displays a list of all open \
					files in use by all the applications your user \
					account is running on the system -- this list \
					includes IP and Unix sockets, character devices and \
					directories. This list is presented along with the \
					names of applications using the file and their \
					process IDs.
homepage		http://sveinbjorn.vefsyn.is/sloth
master_sites	http://sveinbjorn.vefsyn.is/files/software/
distname		${name}-${version}.src
extract.suffix	.tgz
checksums		md5 d8450a1902d58688877c477c5af4fb4b
platforms		darwin

set appName		Sloth
worksrcdir		${appName} Project

use_configure	no

build.type		pbx
build.target
build.args       -configuration Deployment -target ${appName}

destroot {
	set appPath ${destroot}/Applications/DarwinPorts
	cd ${worksrcpath}/build/Deployment
	xinstall -d -m 0755 ${appPath}
	system "ditto -v ${appName}.app ${appPath}/${appName}.app"
}

