# $Id: Portfile 60215 2009-11-05 17:32:37Z adfernandes@macports.org $ PortSystem 1.0 name asciidoc version 8.5.1 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 412fb0c86c3dcb4cc159ef63bd274c90 \ sha1 e8c043d9a10ada9c38cb6725e5c00895f474ae5a \ rmd160 cc24f6befc53b493e18f2dc186b4849302c176b3 depends_run port:python26 \ port:docbook-xml-4.5 \ port:fop 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 }