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

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

Change deprecated livecheck.check to livecheck.type
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 57375 2009-09-10 08:16:41Z 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    reinplace s|@X11_PREFIX@|$prefix| $worksrcpath/osx2x.xcodeproj/project.pbxproj
42}
43
44depends_lib     port:xorg-libXtst \
45                port:openssl
46
47set library_search_path "LIBRARY_SEARCH_PATHS='$prefix/lib'"
48
49eval xcode.build.settings-append        $library_search_path
50eval xcode.destroot.settings-append     $library_search_path
51
52post-destroot {
53    xinstall -d $destroot${applications_dir}
54    copy $worksrcpath/build/UninstalledProducts/osx2x.app $destroot${applications_dir}/
55}
56
57variant universal {
58    eval xcode.build.settings-append        "ARCHS='${configure.universal_archs}'"
59    eval xcode.destroot.settings-append     "ARCHS='${configure.universal_archs}'"
60}
61
62livecheck.type  regex
63livecheck.regex {Latest version: (\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.