# $Id: Portfile 50237 2009-04-28 00:54:46Z raimue@macports.org $

PortSystem			1.0

name				asciidoc
version				8.4.4
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     579bcd5762b177ee0ddccece8c34724b \
				sha1    0306d1a41eb1060873ba4fa655112aeaa64001d1 \
				rmd160  96eb1569db0fa8c2e78cc713ee72a0c25646d3be

patchfiles			patch-a2x.diff

depends_run			port:python25 port:getopt port:docbook-xml-4.2 port:fop-0.20 port:coreutils

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

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