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

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

cotvnc: white space and lint fixes. Add modeline. Fix categories for xcode portgroup.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 90098 2012-02-21 16:25:46Z macsforever2000@macports.org $
3
4PortSystem      1.0
5PortGroup xcode 1.0
6
7name            cotvnc
8version         2.0b4
9categories-append vnc
10maintainers     nomaintainer
11description     Chicken of the VNC is a VNC client for Mac OS X
12long_description    Chicken of the VNC is a Cocoa based VNC client for \
13                    Mac OS X. A VNC client allows one to display and \
14                    interact with a remote computer screen. In other \
15                    words, you can use Chicken of the VNC to interact \
16                    with a remote computer as though it is right next to \
17                    you.
18homepage        http://sourceforge.net/projects/cotvnc/
19master_sites    sourceforge:project/cotvnc/cotvnc/Chicken%20of%20the%20VNC%20${version}
20distname        ${name}-[strsed ${version} {g/[.]//}]-source
21extract.suffix  .tgz
22checksums       md5 9383068b0a381857551404c86bd05dc1 \
23                sha1 1a749854f314d62d1e54b9ae1ce5ac13bb20f1e8 \
24                rmd160 dce9aafff048545e2612c6795c0ee118f3bc0da8
25depends_lib     lib:libz.1:zlib
26
27worksrcdir      ${name}
28xcode.destroot.settings SKIP_INSTALL=NO
29
30# Fix non-root destroot.
31# (this is a workaround for bug rdar://5071108).
32pre-destroot {
33    fs-traverse dir ${worksrcpath}/build {
34        if {[file isdirectory ${dir}]} {
35            file attributes ${dir} -permissions u+w
36        }
37    }
38}
39post-destroot {
40    fs-traverse dir ${destroot} {
41        if {[file isdirectory ${dir}]} {
42            file attributes ${dir} -permissions u+w
43        }
44    }
45}
46
47livecheck.regex "/cotvnc/Chicken\ of\ the\ VNC\ (\[a-zA-Z0-9.\]+)/${name}-(\[a-zA-Z0-9\]+)-source${extract.suffix}"
48livecheck.type  regex
49livecheck.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.