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

    sablotron  most recent diff


    version 1.0.3

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


      The sablotron Portfile 54297 2009-07-24 18:37:06Z toby macports.org $

      PortSystem 1.0

      Name: sablotron
      Version: 1.0.3
      Revision: 1
      Category: textproc
      Maintainers: nomaintainer
      Homepage: http://www.gingerall.org/sablotron.html
      Description: XSLT, DOM and XPath processor
      Long Description: Sablotron is a fast, compact and portable XML toolkit implementing XSLT 1.0, DOM Level2 and XPath 1.0. Sablotron is an open project. The goal of this project is to create a lightweight, reliable and fast XML library processor conforming to the W3C specification, which is available for public and can be used as a base for multi-platform XML applications.

      Platform: darwin
      distname Sablot-${version}
      distfiles Sablot-${version}.tar.gz
      worksrcdir Sablot-${version}
      Master Sites: http://download-1.gingerall.cz/download/sablot/
      Checksums: md5 72654c4b832e7562f8240ea675577f5e
      depends_lib port:libiconv port:expat port:spidermonkey

      # Unfortunately, we have to set an internal configure script variable to stop
      # it auto-detecting whether or not to build the API documentation; no configure
      # switch is provided.
      configure.env BUILD_APIDOCS=no
      configure.args --mandir=${prefix}/share/man --enable-javascript
      configure.cppflags-append -I${prefix}/include/js

      Variant: apidocs description {Install HTML documentation of Sablotron's API} {
      depends_build-append path:bin/perl:perl5 port:p5-xml-parser
      configure.env-append PERL_PROG=${prefix}/bin/perl
      configure.env-delete BUILD_APIDOCS=no
      configure.env-append BUILD_APIDOCS=yes
      }
      Variant: debugger description {Enable XSLT debugger features; user must accept GPL on all of Sablotron} {
      # Strictly speaking, sablotron's debugger still works without readline, but
      # it's worth having the features that readline provides (like command-line
      # history) to keep users of the debugger sane :-)
      depends_lib-append port:ncurses port:readline
      configure.args-append --enable-debugger --with-readline
      configure.env-append SABLOT_GPL=1
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.