source: trunk/dports/aqua/osx2x/Portfile

Last change on this file was 146517, checked in by raimue@…, 19 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

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