source: trunk/dports/aqua/cotvnc/Portfile @ 90096

Last change on this file since 90096 was 90096, checked in by macsforever2000@…, 8 years ago

cotvnc: Fix livecheck. (#33321)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 90096 2012-02-21 16:18:46Z macsforever2000@macports.org $
2PortSystem              1.0
3PortGroup xcode 1.0
4name                    cotvnc
5version                 2.0b4
6categories              aqua vnc
7maintainers             nomaintainer
8description             Chicken of the VNC is a VNC client for Mac OS X
9long_description        Chicken of the VNC is a Cocoa based VNC client for \
10                                        Mac OS X. A VNC client allows one to display and \
11                                        interact with a remote computer screen. In other \
12                                        words, you can use Chicken of the VNC to interact \
13                                        with a remote computer as though it's right next to \
14                                        you.
15homepage                http://sourceforge.net/projects/cotvnc/
16master_sites    sourceforge:project/cotvnc/cotvnc/Chicken%20of%20the%20VNC%20${version}
17distname                ${name}-[strsed ${version} {g/[.]//}]-source
18extract.suffix  .tgz
19checksums               md5 9383068b0a381857551404c86bd05dc1 \
20                                sha1 1a749854f314d62d1e54b9ae1ce5ac13bb20f1e8 \
21                                rmd160 dce9aafff048545e2612c6795c0ee118f3bc0da8
22depends_lib             lib:libz.1:zlib
23
24worksrcdir              ${name}
25xcode.destroot.settings SKIP_INSTALL=NO
26
27# Fix non-root destroot.
28# (this is a workaround for bug rdar://5071108).
29pre-destroot {
30    fs-traverse dir ${worksrcpath}/build {
31        if {[file isdirectory ${dir}]} {
32            file attributes ${dir} -permissions u+w
33        }
34    }
35}
36post-destroot {
37    fs-traverse dir ${destroot} {
38        if {[file isdirectory ${dir}]} {
39            file attributes ${dir} -permissions u+w
40        }
41    }
42}
43
44livecheck.regex "/cotvnc/Chicken\ of\ the\ VNC\ (\[a-zA-Z0-9.\]+)/${name}-(\[a-zA-Z0-9\]+)-source${extract.suffix}"
45livecheck.type  regex
46livecheck.url   http://sourceforge.net/api/file/index/project-id/64347/mtime/desc/limit/20/rss
Note: See TracBrowser for help on using the repository browser.