Fetching contributors…
Cannot retrieve contributors at this time
62 lines (49 sloc) 2.14 KB
# -*- 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
PortSystem 1.0
PortGroup xcode 1.0
name osx2x
version 2.4.0
set my_version 2.4
revision 6
set git_hash 3cc708236898ab789bb99a5fba7420ff76ede9f7
license BSD
platforms darwin
maintainers nomaintainer
description small Aqua application to control X11 servers from Mac OS X
long_description \
osx2x is a small Mac OS X application that lets you \
control other machines running either an X11 server \
or a VNC server using your mac's mouse and keyboard. \
So if you happen to have a mac and either an X \
Windows machine or a machine running VNC on your \
desk you only need to use a single keyboard and \
distname ${name}-${my_version}
worksrcdir mdales-${name}-${git_hash}
checksums \
md5 897cf872c4006d4173b3c6ff046b0c44 \
sha1 1014e0ac22b0c00b47dde2b0f7f44eaa676acc7e \
rmd160 cc2a63b9dbfd9485c039fc989bbab96e6cf919ac
patchfiles patch-osx2x.xcodeproj.diff \
patch-XXRemoteVNC.m.diff \
patch-offbyone.diff \
post-patch {
reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/osx2x.xcodeproj/project.pbxproj
reinplace s|@X11_PREFIX@|${prefix}| ${worksrcpath}/osx2x.xcodeproj/project.pbxproj
depends_lib port:xorg-libXtst \
port:xorg-xorgproto \
xcode.configuration Release HEADER_SEARCH_PATHS=${prefix}/include LIBRARY_SEARCH_PATHS=${prefix}/lib
destroot {
copy ${worksrcpath}/build/${xcode.configuration}/ ${destroot}${applications_dir}
livecheck.type regexm
livecheck.version ${my_version}
livecheck.regex {<key>CFBundleVersion</key>\s+<string>([0-9.]+)</string>}