# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 

PortSystem              1.0

name                    aidadoc
version                 1.3
categories              textproc
license                 BSD
maintainers             users.sourceforge.net:bdesgraupes
platforms               darwin freebsd linux
homepage                http://sourceforge.net/p/aidadoc/home
master_sites            sourceforge:aidadoc
use_parallel_build      yes
use_bzip2				yes

description \
    Compiler for the Aida Markup Language

long_description \
	Aida defines a simple common markup language designed to write \
	structured text, and provides a command line tool to translate the \
	Aida syntax into various target formats (Html, Latex, Trac, Mediawiki, \
	Text, Markdown,...). The aida command is a strict parser which analyses \
	files written in the Aida markup language and invokes callbacks to \
	convert them to the target format. It embeds a Tcl interpreter and \
	the callbacks are written in Tcl. This makes it very easy to define new \
	target formats.


extract.suffix          -src.tar.bz2
distname				${name}-${version}

checksums \
    ${distname}${extract.suffix} \
        md5     7c70311597ec599483fba7bde30de672 \
        sha1    c3b74ace1ce11869d7b69040da68ce07abe55525 \
        rmd160  35540b003430fc46eeac531ed436dbc71ded8f38 \

depends_build \
    port:bison port:flex port:tcl

build.target	aida

pre-configure {
	system "cd ${build.dir}; autoheader; autoconf"
}
