source: trunk/dports/aqua/x2goclient/Portfile

Last change on this file was 152839, checked in by cal@…, 14 months ago

x2goclient, nxcomp: drop co-maintainership

I'm no longer using x2go on a regular basis.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 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 152839 2016-09-19 12:40:43Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               qt4 1.0
6
7name                    x2goclient
8version                 4.0.5.2
9checksums               sha256  0d0adfd5c03cef42367a5894948ee804ae13ffb7ed30a608e7c54351addd1530 \
10                        rmd160  0e4548325daa543fba71f7eb72c8f781faa099c1
11
12categories              aqua net
13platforms               macosx
14license                 {GPL-2+ OpenSSLException}
15
16maintainers             ionic openmaintainer
17
18description             vnc-like remote desktop software
19long_description        X2Go is based on the (now closed source) NX libraries which provide \
20                        terminal server services. \
21                        This is a client application to access the remote side.
22
23homepage                http://www.x2go.org/
24master_sites            http://code.x2go.org/releases/source/${name}/
25
26universal_variant       yes
27supported_archs         ppc i386 x86_64
28
29installs_libs           no
30
31depends_lib             port:qt4-mac \
32                        port:nxproxy \
33                        port:libssh \
34                        port:xorg-libX11
35
36pre-configure {
37    file mkdir "${worksrcpath}/client_build"
38    system -W "${worksrcpath}/client_build" "${qt_lrelease_cmd} ../${name}.pro"
39}
40
41set qmake_project_file  "x2goclient.pro"
42configure.dir           "${worksrcpath}/client_build"
43configure.cmd           ${qt_qmake_cmd}
44configure.pre_args      PREFIX=${prefix}
45
46configure.args-append   -config \"release\" \
47                        CONFIG+=\"${qt_arch_types}\" \
48                        CONFIG-=\"sdk\" \
49                        OSX_STDLIB=\"${configure.cxx_stdlib}\" \
50                        "../${qmake_project_file}"
51
52build.dir               "${worksrcpath}/client_build"
53destroot.dir            "${worksrcpath}/client_build"
54
55destroot {
56    copy ${worksrcpath}/client_build/${name}.app ${destroot}${applications_dir}
57    xinstall -d -m 755 ${destroot}${applications_dir}/${name}.app/Contents/exe
58    ln -s ${prefix}/bin/nxproxy ${destroot}${applications_dir}/${name}.app/Contents/exe/nxproxy
59    ln -s ${applications_dir}/${name}.app/Contents/MacOS/${name} ${destroot}${prefix}/bin/${name}
60}
61
62variant debug description {Builds a debug version. Only really useful with a debugging-enabled version of Qt.} {
63    configure.args-replace  -config \"release\" \
64                            -config \"debug\"
65}
66
67livecheck.url           http://code.x2go.org/releases/source/x2goclient/
68livecheck.regex         ${name}-(\\d+(?:\\.\\d+)*)\\.tar.gz
Note: See TracBrowser for help on using the repository browser.