Skip to content
Permalink
Browse files

sloth:

 * Updated to 1.3.1.
 * Ported to xcode portgroup.
 * Added universal support.
 * Added sha1 and rmd160 checksums and livecheck.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@28191 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Anthony Ramine
Anthony Ramine committed Aug 24, 2007
1 parent 39c663d commit c443e22c458480b391683b7c870c543b09f012b3
Showing with 32 additions and 23 deletions.
  1. +32 −23 aqua/sloth/Portfile
@@ -1,38 +1,47 @@
# $Id$
PortSystem 1.0

PortSystem 1.0
PortGroup xcode 1.0

name sloth
version 1.3
version 1.3.1
categories aqua sysutils
maintainers nomaintainer@macports.org
maintainers nomaintainer
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://www.sveinbjorn.org/sloth
master_sites http://www.sveinbjorn.org/files/software/sloth
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"
master_sites macports
use_bzip2 yes

checksums md5 bab3b31aba2a480b97d82be43e32e74a \
sha1 8710c9c37fddf609fee4f64bad62a90c8270cde8 \
rmd160 6623de19a79ce98e53f17030d0532eedb644b242

# Dummy configure to enable universal variant
use_configure yes
configure {}

if {! [variant_isset universal]} {
set arch ${os.arch}
if {! [string compare ${arch} powerpc]} {
set arch ppc
}

xcode.build.settings-append ARCHS=${arch}
xcode.destroot.settings-append ARCHS=${arch}
}

xcode.configuration Release

livecheck.check regex
livecheck.url ${homepage}
livecheck.regex "Sloth (\\d+(?:\\.\\d+)*)"

0 comments on commit c443e22

Please sign in to comment.
You can’t perform that action at this time.