source: trunk/dports/sysutils/synergy/Portfile

Last change on this file was 136192, checked in by dports@…, 2 years ago

synergy: update to v1.6.3, fix build (see #44018)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 136192 2015-05-11 22:52:15Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup cmake 1.0
6PortGroup github 1.0
7
8github.setup    synergy synergy 1.6.3
9conflicts       synergy-devel
10categories      sysutils
11license         GPL-2
12platforms       darwin
13maintainers     nomaintainer
14description     A client/server for sharing a single mouse and keyboard
15long_description \
16    Synergy lets you easily share a single mouse and keyboard \
17    between multiple computers with different operating systems \
18    without special hardware. It is intended for users with \
19    multiple computers on their desk since each system uses its \
20    own display.
21homepage        http://synergy-project.org
22
23depends_lib     port:curl
24
25checksums       rmd160  bde692fe629be6174f1cdab81917e0d6ac3fcc5a \
26                sha256  2d05b2a7e98e6556900669fea544fdc7c9861ada419fb9cfbead85da3212c046
27
28
29post-extract {
30    foreach x {gmock-1.6.0 gtest-1.6.0 cryptopp562} {
31        xinstall -d ${worksrcpath}/ext/$x
32        system -W ${worksrcpath}/ext/$x "unzip ../$x.zip"
33    }
34}
35
36patchfiles patch-CMakeLists.txt.diff
37
38set major               [lindex [split ${macosx_version} .] 0]
39set minor               [lindex [split ${macosx_version} .] 1]
40configure.args -G \"Unix Makefiles\" \
41               -DOSX_TARGET_MAJOR=${major} -DOSX_TARGET_MINOR=${minor}
42
43use_parallel_build no
44
45destroot {
46        xinstall -d ${destroot}${prefix}/bin
47        xinstall -m 755 ${worksrcpath}/bin/synergyc ${destroot}${prefix}/bin
48        xinstall -m 755 ${worksrcpath}/bin/synergys ${destroot}${prefix}/bin
49        xinstall -m 644 ${worksrcpath}/doc/synergyc.man ${destroot}${prefix}/share/man/man1/synergyc.1
50        xinstall -m 644 ${worksrcpath}/doc/synergys.man ${destroot}${prefix}/share/man/man1/synergys.1
51        xinstall -d ${destroot}${prefix}/etc/${name}
52        xinstall -m 644 -W ${worksrcpath}/doc/ \
53            synergy.conf.example \
54            synergy.conf.example-advanced \
55            synergy.conf.example-basic \
56            ${destroot}${prefix}/etc/${name}
57}
58
59startupitem.create      yes
60startupitem.executable  ${prefix}/bin/synergys --no-daemon
Note: See TracBrowser for help on using the repository browser.