source: trunk/dports/aqua/sloth/Portfile @ 57375

Last change on this file since 57375 was 57375, checked in by ryandesign@…, 10 years ago

Change deprecated livecheck.check to livecheck.type
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
2
3PortSystem              1.0
4PortGroup               xcode 1.0
5
6name                    sloth
7version                 1.3.1
8categories              aqua sysutils
9maintainers             nomaintainer
10description             Program that displays a list of open files by applications
11
12long_description        Sloth is a program that displays a list of all open \
13                                        files in use by all the applications your user \
14                                        account is running on the system -- this list \
15                                        includes IP and Unix sockets, character devices and \
16                                        directories. This list is presented along with the \
17                                        names of applications using the file and their \
18                                        process IDs.
19
20homepage                http://www.sveinbjorn.org/sloth
21master_sites    http://www.sveinbjorn.org/files/software/sloth
22distname                ${name}-${version}.src
23use_zip                 yes
24
25checksums               md5 e17c20da5ac0a661fff8b2060b3fb995 \
26                                sha1 88bbc2dbe13ad084c9aabc2d188be4c8cba1597f \
27                                rmd160 cae9b1570f34df3b95711c30e64726a6d8307240
28
29worksrcdir              Sloth
30
31# Dummy configure to enable universal variant
32use_configure   yes
33configure               {}
34
35if {! [variant_isset universal]} {
36        set arch ${os.arch}
37        if {! [string compare ${arch} powerpc]} {
38                set arch ppc
39        }
40
41        xcode.build.settings-append             ARCHS=${arch}
42        xcode.destroot.settings-append  ARCHS=${arch}
43}
44
45xcode.configuration Release
46
47livecheck.type  regex
48livecheck.url   ${homepage}
49livecheck.regex "Sloth (\\d+(?:\\.\\d+)*)"
50
Note: See TracBrowser for help on using the repository browser.