Files

74 lines
2.3 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup cmake 1.1
PortGroup github 1.0
PortGroup qt5 1.0
github.setup symless synergy-core 1.11.1 v -stable
checksums rmd160 84f0a1ade8bb9337229295bb9fcf9f3898f73493 \
sha256 338e5fda0323f8c24259d8fc26e513bdc4f0f249bf66e9722953bb8e6311f88b \
size 7556850
name synergy
categories sysutils
license GPL-2
platforms darwin
maintainers nomaintainer
description A client/server for sharing a single mouse and keyboard
long_description \
Synergy lets you easily share a single mouse and keyboard \
between multiple computers with different operating systems \
without special hardware. It is intended for users with \
multiple computers on their desk since each system uses its \
own display.
homepage https://symless.com/synergy
github.tarball_from \
archive
qt5.depends_build_component \
qttools
depends_lib-append \
port:curl \
path:lib/libssl.dylib:openssl
patchfiles patch-openssl.diff
compiler.cxx_standard 2011
if {${subport} eq ${name}} {
revision 1
configure.args-append -DSYNERGY_BUILD_LEGACY_INSTALLER=OFF
destroot {
xinstall -m 0755 -W ${build.dir}/bin synergyc synergys ${destroot}${prefix}/bin
xinstall -m 0644 ${worksrcpath}/doc/synergyc.man ${destroot}${prefix}/share/man/man1/synergyc.1
xinstall -m 0644 ${worksrcpath}/doc/synergys.man ${destroot}${prefix}/share/man/man1/synergys.1
xinstall -d ${destroot}${prefix}/etc/${name}
xinstall -m 0644 -W ${worksrcpath}/doc/ \
synergy.conf.example \
synergy.conf.example-advanced \
synergy.conf.example-basic \
${destroot}${prefix}/etc/${name}
}
startupitem.create yes
startupitem.executable ${prefix}/bin/synergys --no-daemon
} else {
livecheck.type none
}
subport ${name}-app {
revision 1
patchfiles-append patch-Info.plist.in.diff
build.target install
destroot {
copy ${cmake.build_dir}/bundle/Synergy.app ${destroot}${applications_dir}
}
}