# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem              1.0

name                    aidadoc
version                 1.4.2
categories              textproc
license                 BSD
maintainers             {@bdesgraupes users.sourceforge.net:bdesgraupes} openmaintainer
platforms               darwin freebsd linux
homepage                https://aidadoc.sourceforge.net/

description             Command line tool to process files written with Aida Markup Language
long_description        The Aidadoc project defines a simple markup language designed to \
                        write structured text, and provides a command line tool to translate \
                        this syntax into various target formats (Html, Latex, Trac, Mediawiki, \
                        Text, Markdown, Troff...). One can evaluate Tcl code within an Aida \
                        file and thus create dynamic contents. \
                        The aida command is a strict lex/bison parser which also embeds a Tcl \
                        interpreter: it reads Aida files and invokes Tcl callbacks to convert \
                        them to the target format. \
                        This design makes it very easy to define new target formats.

master_sites            sourceforge:project/${name}/${version}/
use_bzip2               yes
distname                aida-${version}-src
worksrcdir              aida-${version}

checksums               rmd160  217e65d7d34cdf6d993fefd3e9183d844d18b36b \
                        sha256  f82c15231f66bc01a6e8788f43b9b96acaf7e83b1f3d794cf7a6ac7eecd9b0b6 \
                        size    100353

depends_build           port:bison \
                        port:flex \
                        port:tcl

use_autoreconf          yes

build.target            aida

livecheck.regex         /aida-(\\d+(?:\\.\\d+)*)
