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

    asciidoc  most recent diff


    version 8.5.0

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


      The asciidoc Portfile 58851 2009-10-06 10:20:35Z raimue macports.org $

      PortSystem 1.0

      Name: asciidoc
      Version: 8.5.0
      Category: textproc
      Maintainers: boeyms openmaintainer
      Description: Formatter/translator for text files to numerous formats
      Long Description: AsciiDoc is a text document format for writing short documents, articles, books and UNIX man pages. AsciiDoc files can be translated to HTML (with or without stylesheets), DocBook and LinuxDoc markup using the asciidoc(1) command. AsciiDoc is highly configurable: both the AsciiDoc source file syntax and the backend output markups (which can be almost any type of SGML/XML markup) can be customized and extended by the user.

      Platform: darwin

      Homepage: http://www.methods.co.nz/asciidoc/
      Master Sites: sourceforge

      Checksums: md5 e29e5ca3f8d1a734ecb74a90780da1f3 sha1 bfdc746340780884a90145ef78528ca4a71e3a02 rmd160 82ed69c2adaf60cbcafcbd1df5bc5445704c2335

      depends_run port:python26 port:docbook-xml-4.2 port:fop-0.20

      destroot.target install docs vimdir=${prefix}/share/vim/vimfiles/

      pre-destroot {
      file mkdir ${destroot}${prefix}/share/vim/vimfiles/
      }

      post-destroot {
      reinplace "s:#!/usr/bin/env python:#!${prefix}/bin/python2.6:" ${destroot}${prefix}/bin/asciidoc ${destroot}${prefix}/bin/a2x
      }

      platform darwin {
      # Avoid hidden dependency on gsed
      configure.env-append SED=/usr/bin/sed
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.