[138085] trunk/dports/aqua/x2goclient/Portfile
ionic at macports.org
ionic at macports.org
Sat Jun 27 18:13:34 PDT 2015
Revision: 138085
https://trac.macports.org/changeset/138085
Author: ionic at macports.org
Date: 2015-06-27 18:13:34 -0700 (Sat, 27 Jun 2015)
Log Message:
-----------
x2goclient: update to 4.0.4.0. Fixes: #48180.
Also adds a debug variant, which is mostly useless.
Modified Paths:
--------------
trunk/dports/aqua/x2goclient/Portfile
Modified: trunk/dports/aqua/x2goclient/Portfile
===================================================================
--- trunk/dports/aqua/x2goclient/Portfile 2015-06-28 01:13:30 UTC (rev 138084)
+++ trunk/dports/aqua/x2goclient/Portfile 2015-06-28 01:13:34 UTC (rev 138085)
@@ -5,9 +5,9 @@
PortGroup qt4 1.0
name x2goclient
-version 4.0.3.2
-checksums sha256 f65a70463eae3d6d9fe6e4379f4ffacda50080a11f196d2792742f5b67fa0c6f \
- rmd160 be6c477a6ab4329a1a6f67c02eb4f80f99ac6570
+version 4.0.4.0
+checksums sha256 86d05ce10039fe0a965cdc55086e00f4f3abc573a96f128b92f87081b7251657 \
+ rmd160 0a131d73337de2fa251d0b0699968dd5d00cce0f
categories aqua net
platforms macosx
@@ -34,21 +34,35 @@
port:xorg-libX11
pre-configure {
- system -W "${worksrcpath}" "${qt_lrelease_cmd} ${name}.pro"
+ file mkdir "${worksrcpath}/client_build"
+ system -W "${worksrcpath}/client_build" "${qt_lrelease_cmd} ../${name}.pro"
}
+set qmake_project_file "x2goclient.pro"
+configure.dir "${worksrcpath}/client_build"
configure.cmd ${qt_qmake_cmd}
configure.pre_args PREFIX=${prefix}
-configure.args-append CONFIG+=\"${qt_arch_types}\" \
- CONFIG-=\"sdk\"
+configure.args-append -config \"release\" \
+ CONFIG+=\"${qt_arch_types}\" \
+ CONFIG-=\"sdk\" \
+ OSX_STDLIB=\"${configure.cxx_stdlib}\" \
+ "../${qmake_project_file}"
+build.dir "${worksrcpath}/client_build"
+destroot.dir "${worksrcpath}/client_build"
+
destroot {
- copy ${worksrcpath}/${name}.app ${destroot}${applications_dir}
+ copy ${worksrcpath}/client_build/${name}.app ${destroot}${applications_dir}
xinstall -d -m 755 ${destroot}${applications_dir}/${name}.app/Contents/exe
ln -s ${prefix}/bin/nxproxy ${destroot}${applications_dir}/${name}.app/Contents/exe/nxproxy
ln -s ${applications_dir}/${name}.app/Contents/MacOS/${name} ${destroot}${prefix}/bin/${name}
}
+variant debug description {Builds a debug version. Only really useful with a debugging-enabled version of Qt.} {
+ configure.args-replace -config \"release\" \
+ -config \"debug\"
+}
+
livecheck.url http://code.x2go.org/releases/source/x2goclient/
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)\\.tar.gz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150627/de836fd6/attachment.html>
More information about the macports-changes
mailing list