New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #8218: Portfile.diff

File Portfile.diff, 1.3 KB (added by ascarter@…, 6 years ago)

Diff of portfile changes to support 1.3.1 and server variant

  • Portfile

    old new  
    33PortSystem 1.0 
    44 
    55name                    synergy 
    6 version                 1.2.5 
     6version                 1.3.1 
    77categories              sysutils 
    88platforms               darwin 
    9 maintainers             anoop@ranganath.com 
     9maintainers             ascarter@gmail.com 
    1010description             a client/server for sharing a single mouse and keyboard 
    1111long_description        Synergy lets you easily share a single mouse and keyboard \ 
    1212                                between multiple computers with different operating systems \ 
     
    1616master_sites    sourceforge 
    1717master_sites.mirror_subdir      synergy2 
    1818 
    19 checksums               md5 cf1b981acd317c003357f4ecba42448b 
     19checksums               md5 a6e09d6b71cb217f23069980060abf27 
    2020 
    2121configure.args  --sysconfdir=${prefix}/etc/${name} 
    2222patchfiles              patch-CArchFileUnix.cpp.diff patch-configure.diff 
     
    2626        reinplace "s|__SYSCONFDIR|${prefix}/etc/${name}|g" CArchFileUnix.cpp 
    2727} 
    2828 
    29 startupitem.create      yes 
    30 startupitem.name        Synergy 
    31 startupitem.start       "${prefix}/bin/synergys --daemon &" 
    32 startupitem.stop        "/usr/bin/killall synergys" 
     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} 
    3335 
    3436post-destroot { 
    3537        xinstall -m 755 -d ${destroot}${prefix}/etc/${name}