source: trunk/dports/aqua/cotvnc/Portfile

Last change on this file was 154212, checked in by mf2k@…, 11 months ago

cotvnc: Add cotvnc-devel.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 154212 2016-10-24 13:59:04Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup xcode     1.0
6
7name                cotvnc
8conflicts           cotvnc-devel
9version             2.2b2
10categories-append   vnc
11maintainers         nomaintainer
12license             GPL-2
13
14description         Chicken is a VNC client for Mac OS X
15long_description    Chicken is a Cocoa based VNC client for \
16                    Mac OS X. A VNC client allows one to display and \
17                    interact with a remote computer screen. In other \
18                    words, you can use Chicken to interact \
19                    with a remote computer as though it is right next to \
20                    you.
21homepage            https://sourceforge.net/projects/chicken/
22
23fetch.type          svn
24svn.url             http://svn.code.sf.net/p/chicken/code/trunk
25svn.revision        797
26
27depends_build-append \
28                    bin:iconv:libiconv
29
30depends_lib-append \
31                    lib:libz.1:zlib \
32                    port:xorg-xproto
33
34worksrcdir          trunk/cotvnc
35
36# Patch to search in Macports directory for libraries and headers
37patchfiles          patch-project.pbxproj.diff
38
39post-patch {
40    reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Chicken.xcodeproj/project.pbxproj
41}
42
43xcode.destroot.settings SKIP_INSTALL=NO
44
45# Fix non-root destroot.
46# (this is a workaround for bug rdar://5071108).
47pre-destroot {
48    fs-traverse dir ${worksrcpath}/build {
49        if {[file isdirectory ${dir}]} {
50            file attributes ${dir} -permissions u+w
51        }
52    }
53}
54post-destroot {
55    fs-traverse dir ${destroot} {
56        if {[file isdirectory ${dir}]} {
57            file attributes ${dir} -permissions u+w
58        }
59    }
60}
61
62subport cotvnc-devel {
63    conflicts       cotvnc
64
65    version         2016-01-27
66    svn.revision    837
67}
Note: See TracBrowser for help on using the repository browser.