# Recipe for version 8.2.5 by Olle Lundberg <olle.lundberg@gmail.com>, on Wed Nov 26 22:11:03 CET 2008
# Recipe (MakeRecipe) for AsciiDoc by Aitor Prez Iturri, on lun feb 19 10:54:16 CET 2007
compile_version=1.8.3
url="$httpSourceforge/asciidoc/asciidoc-8.2.5.tar.gz"
file_size=722902
file_md5=6810883dc0705aa6f9a4d621cf3e569c
recipe_type=makefile
do_build=no
do_install=no

pre_link () {
	GrepReplace "^CONF_DIR=.*$" "CONF_DIR=$settings_target/asciidoc" a2x
	GrepReplace "^CONF_DIR = \".*\"" "CONF_DIR = \"$settings_target/asciidoc\"" asciidoc.py
	GrepReplace "^CONFDIR=.*$" "CONFDIR=$settings_target/asciidoc" install.sh
	GrepReplace "^BINDIR=.*$" "BINDIR=$target/bin" install.sh
	GrepReplace "^MANDIR=.*$" "MANDIR=$target/man" install.sh
	GrepReplace "VIM_CONFIGDIR=.*$" "VIM_CONFIGDIR=$settings_target/vim" install.sh

	./install.sh
}
