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

Last change on this file since 20471 was 20471, checked in by blair@…, 13 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

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