source: trunk/dports/sysutils/synergy/Portfile @ 28383

Last change on this file since 28383 was 28383, checked in by ryandesign@…, 12 years ago

synergy: make livecheck work

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 28383 2007-08-30 02:08:58Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    synergy
6set sf_proj             synergy2
7version                 1.3.1
8categories              sysutils
9platforms               darwin
10maintainers             ascarter@gmail.com
11description             a client/server for sharing a single mouse and keyboard
12long_description        Synergy lets you easily share a single mouse and keyboard \
13                                between multiple computers with different operating systems \
14                                without special hardware. It is intended for users with \
15                                multiple computers on their desk since each system uses its \
16                                own display.
17master_sites    sourceforge
18master_sites.mirror_subdir      ${sf_proj}
19
20checksums               md5 a6e09d6b71cb217f23069980060abf27
21
22configure.args  --sysconfdir=${prefix}/etc/${name}
23patchfiles              patch-CArchFileUnix.cpp.diff patch-configure.diff
24
25post-patch {
26        cd ${worksrcpath}/lib/arch
27        reinplace "s|__SYSCONFDIR|${prefix}/etc/${name}|g" CArchFileUnix.cpp
28}
29
30variant server {
31        startupitem.create      yes
32        startupitem.name        Synergy
33        startupitem.start       "${prefix}/bin/synergys --daemon &"
34        startupitem.stop        "/usr/bin/killall synergys"
35}
36
37post-destroot {
38        xinstall -m 755 -d ${destroot}${prefix}/etc/${name}
39        xinstall -m 644 -c ${worksrcpath}/examples/synergy.conf \
40                ${destroot}${prefix}/etc/${name}/synergy.conf.sample
41}
42
43livecheck.name  ${sf_proj}
44livecheck.regex <title>Sources (.*) released.*</title>
Note: See TracBrowser for help on using the repository browser.