Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

root/trunk/dports/aqua/osx2x/Portfile

Revision 41999, 2.1 KB (checked in by nox@…, 2 months ago)

osx2x: Fixed distname.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem      1.0
5PortGroup       xcode 1.0
6
7name            osx2x
8version         2.4.0
9set git_hash    3cc708236898ab789bb99a5fba7420ff76ede9f7
10platforms       darwin
11maintainers     nomaintainer
12description     small Aqua application to control X11 servers from Mac OS X
13
14long_description \
15    osx2x is a small Mac OS X application that lets you \
16    control other machines running either an X11 server \
17    or a VNC server using your mac's mouse and keyboard. \
18    So if you happen to have a mac and either an X \
19    Windows machine or a machine running VNC on your \
20    desk you only need to use a single keyboard and \
21    mouse!
22
23homepage        http://homepage.mac.com/mdales/osx2x/
24master_sites    http://github.com/mdales/osx2x/tarball/${git_hash}
25distname        $name-2.4
26
27worksrcdir      mdales-${name}-${git_hash}
28
29checksums \
30    md5     897cf872c4006d4173b3c6ff046b0c44 \
31    sha1    1014e0ac22b0c00b47dde2b0f7f44eaa676acc7e \
32    rmd160  cc2a63b9dbfd9485c039fc989bbab96e6cf919ac
33
34patchfiles      patch-osx2x.xcodeproj.diff \
35                patch-XXRemoteVNC.m.diff
36
37post-patch {
38    reinplace s|@PREFIX@|$prefix| $worksrcpath/osx2x.xcodeproj/project.pbxproj
39    reinplace s|@X11_PREFIX@|$x11prefix| $worksrcpath/osx2x.xcodeproj/project.pbxproj
40}
41
42depends_lib     lib:libX11:xorg \
43                port:openssl
44
45set library_search_path "LIBRARY_SEARCH_PATHS='$prefix/lib $x11prefix/lib'"
46
47eval xcode.build.settings-append        $library_search_path
48eval xcode.destroot.settings-append     $library_search_path
49
50post-destroot {
51    xinstall -d $destroot/Applications/MacPorts
52    copy $worksrcpath/build/UninstalledProducts/osx2x.app $destroot/Applications/MacPorts/
53}
54
55variant universal {
56    eval xcode.build.settings-append        "ARCHS='${configure.universal_archs}'"
57    eval xcode.destroot.settings-append     "ARCHS='${configure.universal_archs}'"
58}
59
60livecheck.check regex
61livecheck.regex {Latest version: (\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the browser.