source: trunk/dports/x11/vnc/Portfile

Last change on this file was 114883, checked in by ryandesign@…, 4 years ago

vnc: fix build failure with clang (#41855)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 114883 2013-12-19 00:00:18Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            vnc
7conflicts       tightvnc tigervnc
8version         4.1.3
9categories      x11 vnc
10maintainers     nomaintainer
11license         GPL-2
12description     Remote display system for X11 applications
13long_description    Creates a virtual X11 windowing environment that can \
14                    be viewed not only on the machine where it is \
15                    running, but from anywhere on the Internet and from \
16                    a wide variety of machine architectures.
17homepage        http://www.realvnc.com/
18master_sites    freebsd:xc
19distname        ${name}-[string map {. _} ${version}]-unixsrc
20checksums       md5 a119f3c75ad2767c0588260e2abe39be \
21                sha1 fd4ebf2bf8945b5a419ab69059a98fe3bc6698ef \
22                rmd160 9ef5a3b6f13d1227e5b9399c4d56884639cf9686
23platforms       darwin
24
25depends_lib     port:xorg-libXaw \
26                port:xorg-libXtst \
27                port:zlib
28
29patchfiles      patch-stdlib.diff
30
31configure.dir   ${worksrcpath}/unix
32build.dir       ${configure.dir}
33
34configure.args  --with-x --with-installed-zlib
35
36destroot.cmd    ./vncinstall
37destroot.target
38destroot.destdir ${destroot}${prefix}/bin ${destroot}${prefix}/share/man
39
40post-destroot {
41    xinstall -d -m 0755 ${destroot}${prefix}/share/${name}/classes
42    foreach f [glob -directory ${worksrcpath}/common/javabin *] {
43        xinstall -m 0644 $f ${destroot}${prefix}/share/${name}/classes
44    }
45    # server binary requires building XFree86, so delete the wrapper script
46    delete ${destroot}${prefix}/bin/vncserver
47    delete ${destroot}${prefix}/share/man/man1/vncserver.1
48}
Note: See TracBrowser for help on using the repository browser.