Osx2x version 2.4.0 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 2.4.0

      View the most recent changes for the osx2x port at: osx2x.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for osx2x.
      The raw portfile for osx2x 2.4.0 is located here:
      http://osx2x.darwinports.com/dports/aqua/osx2x/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/osx2x


      # -*- 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
      The osx2x Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup xcode 1.0

      Name: osx2x
      Version: 2.4.0
      Revision: 2
      set git_hash 3cc708236898ab789bb99a5fba7420ff76ede9f7
      Platform: 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 mouse!

      Homepage: http://homepage.mac.com/mdales/osx2x/
      Master Sites: http://arn.se.distfiles.macports.org/${dist_subdir}
      #master_sites http://github.com/mdales/osx2x/tarball/${git_hash}
      distname $name-2.4

      worksrcdir mdales-${name}-${git_hash}

      Checksums: md5 897cf872c4006d4173b3c6ff046b0c44 sha1 1014e0ac22b0c00b47dde2b0f7f44eaa676acc7e rmd160 cc2a63b9dbfd9485c039fc989bbab96e6cf919ac

      Patch Files: patch-osx2x.xcodeproj.diff patch-XXRemoteVNC.m.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:openssl

      set library_search_path "LIBRARY_SEARCH_PATHS='$prefix/lib'"

      eval xcode.build.settings-append $library_search_path
      eval xcode.destroot.settings-append $library_search_path

      post-destroot {
      xinstall -d $destroot${applications_dir}
      copy $worksrcpath/build/UninstalledProducts/osx2x.app $destroot${applications_dir}/
      }

      Variant: universal {
      eval xcode.build.settings-append "ARCHS='${configure.universal_archs}'"
      eval xcode.destroot.settings-append "ARCHS='${configure.universal_archs}'"
      }

      livecheck.type regex
      livecheck.regex {Latest version: (\d+(?:\.\d+)*)}

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/osx2x
      % sudo port install osx2x
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching osx2x
      ---> Verifying checksum for osx2x
      ---> Extracting osx2x
      ---> Configuring osx2x
      ---> Building osx2x with target all
      ---> Staging osx2x into destroot
      ---> Installing osx2x
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using osx2x with these commands:
      %  man osx2x
      % apropos osx2x
      % which osx2x
      % locate osx2x

     Where to find more information:

    Darwin Ports



    Lightbox this page.