# Template file for 'asciidoc'
pkgname=asciidoc
version=8.6.8
revision=1
build_style=gnu-configure
makedepends="python libxslt docbook-xsl"
short_desc="Text based document generation"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.methods.co.nz/asciidoc/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=ffb67f59dccaf6f15db72fcd04fdf21a2f9b703d31f94fcd0c49a424a9fcfbc4
long_desc="
 asciidoc is a text document format for writing short documents,
 articles, books and UNIX man pages. asciidoc files can be translated
 to HTML and DocBook markups 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."

asciidoc_package() {
	depends="python libxslt docbook-xsl"
	conf_files="
		/etc/asciidoc/asciidoc.conf
		/etc/asciidoc/docbook45.conf
		/etc/asciidoc/filters/code/code-filter.conf
		/etc/asciidoc/filters/graphviz/graphviz-filter.conf
		/etc/asciidoc/filters/latex/latex-filter.conf
		/etc/asciidoc/filters/music/music-filter.conf
		/etc/asciidoc/filters/source/source-highlight-filter.conf
		/etc/asciidoc/help.conf
		/etc/asciidoc/html4.conf
		/etc/asciidoc/lang-de.conf
		/etc/asciidoc/lang-en.conf
		/etc/asciidoc/lang-es.conf
		/etc/asciidoc/lang-fr.conf
		/etc/asciidoc/lang-hu.conf
		/etc/asciidoc/lang-it.conf
		/etc/asciidoc/lang-pt-BR.conf
		/etc/asciidoc/lang-ru.conf
		/etc/asciidoc/lang-uk.conf
		/etc/asciidoc/latex.conf
		/etc/asciidoc/slidy.conf
		/etc/asciidoc/text.conf
		/etc/asciidoc/wordpress.conf
		/etc/asciidoc/xhtml11.conf
		/etc/asciidoc/xhtml11-quirks.conf"
	noarch="yes"
	pkg_install() {
		vmove usr
	}
}
