Portfile

# $Id: Portfile 21857 2007-02-10 16:53:48Z rhwood@macports.org $
PortSystem 1.0

name sloth
version 1.3
categories aqua sysutils
maintainers nomaintainer@macports.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/MacPorts
cd ${worksrcpath}/build/Deployment
xinstall -d -m 0755 ${appPath}
system "ditto -v ${appName}.app ${appPath}/${appName}.app"
}