[28191] trunk/dports/aqua/sloth/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Fri Aug 24 05:39:13 PDT 2007
Revision: 28191
http://trac.macosforge.org/projects/macports/changeset/28191
Author: nox at macports.org
Date: 2007-08-24 05:39:12 -0700 (Fri, 24 Aug 2007)
Log Message:
-----------
sloth:
* Updated to 1.3.1.
* Ported to xcode portgroup.
* Added universal support.
* Added sha1 and rmd160 checksums and livecheck.
Modified Paths:
--------------
trunk/dports/aqua/sloth/Portfile
Modified: trunk/dports/aqua/sloth/Portfile
===================================================================
--- trunk/dports/aqua/sloth/Portfile 2007-08-24 12:38:18 UTC (rev 28190)
+++ trunk/dports/aqua/sloth/Portfile 2007-08-24 12:39:12 UTC (rev 28191)
@@ -1,11 +1,14 @@
# $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 at 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 \
@@ -13,26 +16,32 @@
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
+master_sites macports
+use_bzip2 yes
-set appName Sloth
-worksrcdir ${appName} Project
+checksums md5 bab3b31aba2a480b97d82be43e32e74a \
+ sha1 8710c9c37fddf609fee4f64bad62a90c8270cde8 \
+ rmd160 6623de19a79ce98e53f17030d0532eedb644b242
-use_configure no
+# Dummy configure to enable universal variant
+use_configure yes
+configure {}
-build.type pbx
-build.target
-build.args -configuration Deployment -target ${appName}
+if {! [variant_isset universal]} {
+ set arch ${os.arch}
+ if {! [string compare ${arch} powerpc]} {
+ set arch ppc
+ }
-destroot {
- set appPath ${destroot}/Applications/MacPorts
- cd ${worksrcpath}/build/Deployment
- xinstall -d -m 0755 ${appPath}
- system "ditto -v ${appName}.app ${appPath}/${appName}.app"
+ 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+)*)"
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070824/ff57673b/attachment.html
More information about the macports-changes
mailing list