# $Id: Portfile 58851 2009-10-06 10:20:35Z raimue@macports.org $ PortSystem 1.0 name asciidoc version 8.5.0 categories 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. platforms 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 }