Ticket #38159: Portfile

File Portfile, 1.9 KB (added by cooljeanius (Eric Gallager), 11 years ago)

portfile for gaa

Line 
1# -*- 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
2# $Id: Portfile 78632 2011-05-14 22:50:58Z ryandesign@macports.org $
3
4PortSystem               1.0
5PortGroup                github 1.0
6
7github.setup             cooljeanius gaa 1.6.6_1 v
8revision                 2
9platforms                darwin
10categories               devel
11maintainers              gwmail.gwu.edu:egall openmaintainer
12description              ${name} Argument Analyser
13license                  GPL-2+
14long_description         ${name} simplifies the life of the programmer: you don't have to \
15                         worry about the arguments given to it! A short text written in GAA \
16                         language generates C-code which analyses the arguments and creates your \
17                         program's help.
18
19homepage                 http://gaa.sf.net
20
21fetch.type               git
22git.url                  git://github.com/cooljeanius/gaa.git
23
24depends_build-append     port:bison \
25                         port:flex
26
27variant autoreconf description {Regenerates configure script before building. \
28                                Also pulls in extra dependencies.} {
29    depends_build-append port:gawk \
30                         port:grep \
31                         port:autoconf-archive
32    use_autoreconf       yes
33    configure.args-append --disable-silent-rules
34}
35variant docs description {Generate additional documentation by using latex2html} {
36    depends_build-append port:latex2html
37    post-build {
38        system -W ${worksrcpath}/doc "latex2html *.tex"
39    }
40    post-destroot {
41        foreach docdir {gaa ref tut} {
42            xinstall -d ${destroot}${prefix}/share/doc/${name}/${docdir}
43            eval xinstall [glob ${worksrcpath}/doc/${docdir}/*] ${destroot}${prefix}/share/doc/${name}/${docdir}
44        }
45    }
46}
47
48livecheck.type           none