1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name aidadoc |
---|
7 | version 1.4.2 |
---|
8 | categories textproc |
---|
9 | license BSD |
---|
10 | maintainers users.sourceforge.net:bdesgraupes |
---|
11 | platforms darwin freebsd linux |
---|
12 | homepage http://sourceforge.net/p/aidadoc/home |
---|
13 | master_sites sourceforge:project/aidadoc/${version}/ |
---|
14 | use_parallel_build yes |
---|
15 | use_bzip2 yes |
---|
16 | |
---|
17 | description \ |
---|
18 | Command line tool to process files written with Aida Markup Language |
---|
19 | |
---|
20 | long_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 | |
---|
32 | extract.suffix -src.tar.bz2 |
---|
33 | distname [strsed ${name} {/doc//}]-${version} |
---|
34 | |
---|
35 | checksums \ |
---|
36 | ${distname}${extract.suffix} \ |
---|
37 | md5 28acc622599ae70bd9027fd80cf9f9b8 \ |
---|
38 | sha1 aece1dbfdc342c63995a1bf7d7de525067038748 \ |
---|
39 | rmd160 217e65d7d34cdf6d993fefd3e9183d844d18b36b \ |
---|
40 | |
---|
41 | depends_build \ |
---|
42 | port:bison port:flex port:tcl |
---|
43 | |
---|
44 | build.target aida |
---|
45 | |
---|
46 | pre-configure { |
---|
47 | system "cd ${build.dir}; autoheader; autoconf" |
---|
48 | } |
---|