Xsane version 0.996 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 0.996

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
      The xsane Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: xsane
      Version: 0.996
      Revision: 1
      Category: graphics x11
      Maintainers: nomaintainer
      Description: X11 frontend for SANE
      Homepage: http://www.xsane.org/
      Platform: darwin

      Long Description: This is an X11 frontend for the Scanner Access Now Easy Project.

      Master Sites: http://gd.tuwien.ac.at/hci/sane/xsane/ ftp://ftp.sane-project.org/pub/sane/xsane/ ftp://ftp3.sane-project.org/pub/sane/xsane/ ftp://gd.tuwien.ac.at/hci/sane/xsane/ ftp://sunsite.uio.no/pub/sane/xsane/

      Checksums: md5 7dcbcdf0e83322d7c0a543672d9ca2d8 sha1 2f2a709b577463cc57d6dacec4a530a8c4feb8c6 rmd160 c927274a1d09aa74c95fc2a55f4494b261840f23

      depends_lib lib:libgimp-2.0:gimp2 port:gtk2 port:sane-backends

      Patch Files: patch-src-xsane-back-gtk.c.diff

      configure.cppflags-append -no-cpp-precomp

      destroot.destdir prefix=${destroot}${prefix}
      post-destroot {
      delete ${destroot}${prefix}/share/man
      file rename ${destroot}${prefix}/man ${destroot}${prefix}/share/man

      system "strip ${destroot}${prefix}/bin/xsane"

      if {![variant_isset disable_gimp]} {
      xinstall -d ${destroot}${prefix}/lib/gimp/2.0/plug-ins
      ln -sf ${prefix}/bin/xsane ${destroot}${prefix}/lib/gimp/2.0/plug-ins
      }
      }

      Variant: disable_gimp description {Disable building of GIMP plugin} {
      depends_lib-delete lib:libgimp-2.0:gimp2
      configure.args-append --disable-gimp
      }

      livecheck.type regex
      livecheck.url ftp://ftp.sane-project.org/pub/sane/xsane/
      livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"

    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/xsane
      % sudo port install xsane
      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 xsane
      ---> Verifying checksum for xsane
      ---> Extracting xsane
      ---> Configuring xsane
      ---> Building xsane with target all
      ---> Staging xsane into destroot
      ---> Installing xsane
    - 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 xsane with these commands:
      %  man xsane
      % apropos xsane
      % which xsane
      % locate xsane

     Where to find more information:

    Darwin Ports



    Lightbox this page.