source: trunk/dports/x11/tigervnc/Portfile

Last change on this file was 154269, checked in by mf2k@…, 13 months ago

tigervnc: Update to version 1.7.0. (#52691)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 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 154269 2016-10-25 19:50:22Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               cmake 1.0
6PortGroup               conflicts_build 1.0
7PortGroup               github 1.0
8PortGroup               muniversal 1.0
9
10github.setup            TigerVNC tigervnc 1.7.0 v
11conflicts               vnc tightvnc
12categories              x11 vnc
13maintainers             ryandesign openmaintainer
14platforms               darwin
15license                 GPL-2+
16
17description             Advanced VNC implementation.
18
19long_description        TigerVNC is an advanced VNC implementation. \
20                        It is based on the fourth generation of VNC. TigerVNC \
21                        also includes features from the TightVNC and TurboVNC \
22                        projects. This includes accelerated JPEG compression. \
23                        TigerVNC supports the latest X.Org X server.
24
25homepage                http://www.tigervnc.com/
26
27checksums               rmd160  c0bbf134574122b62b2ff0566a77a7509404d3f5 \
28                        sha256  27b3b5d08ea80636e6d023d33a87eb02f8c7e03e6064a99631511aa32cf1b9ad
29
30depends_lib             port:gettext \
31                        port:gnutls \
32                        path:lib/libfltk.dylib:fltk \
33                        port:jpeg \
34                        port:libiconv \
35                        port:zlib
36
37patchfiles              patch-CMakeLists.txt.diff \
38                        patch-release-makemacapp.in.diff
39
40# ivtools' OS/os.h shadows tigervnc's os/os.h on case-insensitive filesystems.
41if {[file exists ${prefix}/include/os/os.h]} {
42    conflicts_build-append ivtools
43}
44
45cmake.out_of_source     yes
46
47build.target            dmg
48
49if {[variant_isset universal]} {
50    merger-post-destroot {
51        foreach arch ${universal_archs_to_use} {
52            copy "${build.dir}-${arch}/TigerVNC Viewer.app" ${destroot}-${arch}${applications_dir}
53            delete ${destroot}-${arch}${prefix}/bin/vncviewer
54            ln -s "${applications_dir}/TigerVNC Viewer.app/Contents/MacOS/TigerVNC Viewer" ${destroot}-${arch}${prefix}/bin/vncviewer
55        }
56    }
57} else {
58    post-destroot {
59        copy "${build.dir}/TigerVNC Viewer.app" ${destroot}${applications_dir}
60        delete ${destroot}${prefix}/bin/vncviewer
61        ln -s "${applications_dir}/TigerVNC Viewer.app/Contents/MacOS/TigerVNC Viewer" ${destroot}${prefix}/bin/vncviewer
62    }
63}
Note: See TracBrowser for help on using the repository browser.