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

Last change on this file since 96526 was 86458, checked in by ryandesign@…, 8 years ago

osx2x: simplify destroot, hopefully fixing Xcode 4 issue; see #31782

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 86458 2011-10-26 08:03:25Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       xcode 1.0
6
7name            osx2x
8version         2.4.0
9set my_version  2.4
10revision        3
11set git_hash    3cc708236898ab789bb99a5fba7420ff76ede9f7
12platforms       darwin
13maintainers     nomaintainer
14description     small Aqua application to control X11 servers from Mac OS X
15
16long_description \
17    osx2x is a small Mac OS X application that lets you \
18    control other machines running either an X11 server \
19    or a VNC server using your mac's mouse and keyboard. \
20    So if you happen to have a mac and either an X \
21    Windows machine or a machine running VNC on your \
22    desk you only need to use a single keyboard and \
23    mouse!
24
25homepage        http://digitalflapjack.com/osx2x/
26master_sites    http://arn.se.distfiles.macports.org/${dist_subdir}
27#master_sites    http://github.com/mdales/osx2x/tarball/${git_hash}
28distname        ${name}-${my_version}
29
30worksrcdir      mdales-${name}-${git_hash}
31
32checksums \
33    md5     897cf872c4006d4173b3c6ff046b0c44 \
34    sha1    1014e0ac22b0c00b47dde2b0f7f44eaa676acc7e \
35    rmd160  cc2a63b9dbfd9485c039fc989bbab96e6cf919ac
36
37patchfiles      patch-osx2x.xcodeproj.diff \
38                patch-XXRemoteVNC.m.diff
39
40post-patch {
41    reinplace s|@PREFIX@|$prefix| $worksrcpath/osx2x.xcodeproj/project.pbxproj
42    reinplace s|@X11_PREFIX@|$prefix| $worksrcpath/osx2x.xcodeproj/project.pbxproj
43}
44
45depends_lib     port:xorg-libXtst \
46                port:openssl
47
48xcode.configuration Release
49xcode.build.settings-append LIBRARY_SEARCH_PATHS=${prefix}/lib
50
51destroot {
52    copy ${worksrcpath}/build/${xcode.configuration}/osx2x.app ${destroot}${applications_dir}
53}
54
55livecheck.type      regexm
56livecheck.version   ${my_version}
57livecheck.url       https://raw.github.com/mdales/osx2x/master/Info.plist
58livecheck.regex     {<key>CFBundleVersion</key>\s+<string>([0-9.]+)</string>}
Note: See TracBrowser for help on using the repository browser.