Download and Install asciidoc version 8.2.6 on Mac OS X
Thursday the 28th of August, 2008

    asciidoc  most recent diff


      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.2.6 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
      Google
      Web Darwinports.com



      # $Id: Portfile 37791 2008-06-23 15:08:45Z simon macports.org $

      PortSystem 1.0

      Name: asciidoc
      Version: 8.2.6
      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 1df4cee138a096131a94fe7d29066345 sha1 cce98ed670c462a3a007b03b6f92d2108c5bc405 rmd160 c07d2eaa04d16275c44756236023c0789cf54310

      depends_run port:python24 port:getopt port:docbook-xml-4.2 port:fop-0.20
      use_configure no

      build {}

      destroot {
      xinstall -d ${destroot}${prefix}/share/${name} ${destroot}${prefix}/etc/${name}/images/

      xinstall -W ${worksrcpath} -m 755 asciidoc.py ${destroot}${prefix}/bin/${name}
      xinstall -W ${worksrcpath} -m 755 a2x ${destroot}${prefix}/bin/a2x

      eval file copy [glob -d ${worksrcpath} *.conf] ${worksrcpath}/docbook-xsl ${worksrcpath}/filters ${worksrcpath}/javascripts ${worksrcpath}/stylesheets ${destroot}${prefix}/etc/${name}/
      file copy ${worksrcpath}/images/icons ${destroot}${prefix}/etc/${name}/images/

      # Note, doc and examples (per porthier(7)) should be in their own subdir
      # of ${prefix}/share, but asciidoc has quite a few symlinks in the
      # examples, so they go under ${prefix}/share/${name} to keep things working
      file copy ${worksrcpath}/doc ${worksrcpath}/examples ${worksrcpath}/images ${worksrcpath}/javascripts ${worksrcpath}/stylesheets ${destroot}${prefix}/share/${name}
      xinstall -W ${worksrcpath} BUGS BUGS.txt CHANGELOG CHANGELOG.txt COPYING COPYRIGHT README README.txt ${destroot}${prefix}/share/${name}
      xinstall -W ${worksrcpath} doc/${name}.1 doc/a2x.1 ${destroot}${prefix}/share/man/man1

      reinplace "s|^#!/usr/bin/env python|#!${prefix}/bin/python2.4|" ${destroot}${prefix}/bin/${name} ${destroot}${prefix}/etc/${name}/filters/code-filter.py
      reinplace "s|/etc/${name}|${prefix}/etc/${name}|" ${destroot}${prefix}/bin/${name} ${destroot}${prefix}/bin/a2x
      }


    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



    image test