Ticket #55808: Portfile

File Portfile, 1.6 KB (added by bdesgraupes, 7 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4
2# $Id$
3
4PortSystem              1.0
5
6name                    aidadoc
7version                 1.4.2
8categories              textproc
9license                 BSD
10maintainers             users.sourceforge.net:bdesgraupes
11platforms               darwin freebsd linux
12homepage                http://sourceforge.net/p/aidadoc/home
13master_sites            sourceforge:project/aidadoc/${version}/
14use_parallel_build      yes
15use_bzip2                               yes
16
17description \
18    Command line tool to process files written with Aida Markup Language
19
20long_description \
21        The Aidadoc project defines a simple markup language designed to \
22        write structured text, and provides a command line tool to translate the \
23        Aida syntax into various target formats (Html, Latex, Trac, Mediawiki, \
24        Text, Markdown,...). One can evaluate Tcl code within an Aida \
25        file and thus create dynamic contents. \
26        The aida command is a strict parser which analyses Aida files \
27        and invokes callbacks to convert them to the target format. \
28        It embeds a Tcl interpreter and the callbacks are written in Tcl. \
29        This makes it very easy to define new target formats.
30
31
32extract.suffix          -src.tar.bz2
33distname                                [strsed ${name} {/doc//}]-${version}
34
35checksums \
36    ${distname}${extract.suffix} \
37                md5    28acc622599ae70bd9027fd80cf9f9b8 \
38                sha1    aece1dbfdc342c63995a1bf7d7de525067038748 \
39                rmd160    217e65d7d34cdf6d993fefd3e9183d844d18b36b \
40
41depends_build \
42    port:bison port:flex port:tcl
43
44build.target    aida
45
46pre-configure {
47        system "cd ${build.dir}; autoheader; autoconf"
48}