source: trunk/dports/aqua/osx2x/Portfile @ 47558

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

osx2x: undo the checksum change from r47516, change the master_sites to a location where the file with the old checksums lives, and where the checksums won't unexpectedly change on us like they do at github

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
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: Portfile 47558 2009-03-01 00:55:14Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       xcode 1.0
6
7name            osx2x
8version         2.4.0
9revision        2
10set git_hash    3cc708236898ab789bb99a5fba7420ff76ede9f7
11platforms       darwin
12maintainers     nomaintainer
13description     small Aqua application to control X11 servers from Mac OS X
14
15long_description \
16    osx2x is a small Mac OS X application that lets you \
17    control other machines running either an X11 server \
18    or a VNC server using your mac's mouse and keyboard. \
19    So if you happen to have a mac and either an X \
20    Windows machine or a machine running VNC on your \
21    desk you only need to use a single keyboard and \
22    mouse!
23
24homepage        http://homepage.mac.com/mdales/osx2x/
25master_sites    http://arn.se.distfiles.macports.org/${dist_subdir}
26#master_sites    http://github.com/mdales/osx2x/tarball/${git_hash}
27distname        $name-2.4
28
29worksrcdir      mdales-${name}-${git_hash}
30
31checksums \
32    md5     897cf872c4006d4173b3c6ff046b0c44 \
33    sha1    1014e0ac22b0c00b47dde2b0f7f44eaa676acc7e \
34    rmd160  cc2a63b9dbfd9485c039fc989bbab96e6cf919ac
35
36patchfiles      patch-osx2x.xcodeproj.diff \
37                patch-XXRemoteVNC.m.diff
38
39post-patch {
40    reinplace s|@PREFIX@|$prefix| $worksrcpath/osx2x.xcodeproj/project.pbxproj
41    if {[file exists ${prefix}/lib/libX11.dylib]} {
42        reinplace s|@X11_PREFIX@|$prefix| $worksrcpath/osx2x.xcodeproj/project.pbxproj
43    } else {
44        reinplace s|@X11_PREFIX@|$x11prefix| $worksrcpath/osx2x.xcodeproj/project.pbxproj
45    }
46}
47
48depends_lib     port:xorg-libXtst \
49                port:openssl
50
51set library_search_path "LIBRARY_SEARCH_PATHS='$prefix/lib $x11prefix/lib'"
52
53eval xcode.build.settings-append        $library_search_path
54eval xcode.destroot.settings-append     $library_search_path
55
56post-destroot {
57    xinstall -d $destroot${applications_dir}
58    copy $worksrcpath/build/UninstalledProducts/osx2x.app $destroot${applications_dir}/
59}
60
61variant universal {
62    eval xcode.build.settings-append        "ARCHS='${configure.universal_archs}'"
63    eval xcode.destroot.settings-append     "ARCHS='${configure.universal_archs}'"
64}
65
66livecheck.check regex
67livecheck.regex {Latest version: (\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.