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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup cooljeanius gaa 1.6.6_1 v |
---|
8 | revision 2 |
---|
9 | platforms darwin |
---|
10 | categories devel |
---|
11 | maintainers gwmail.gwu.edu:egall openmaintainer |
---|
12 | description ${name} Argument Analyser |
---|
13 | license GPL-2+ |
---|
14 | long_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 | |
---|
19 | homepage http://gaa.sf.net |
---|
20 | |
---|
21 | fetch.type git |
---|
22 | git.url git://github.com/cooljeanius/gaa.git |
---|
23 | |
---|
24 | depends_build-append port:bison \ |
---|
25 | port:flex |
---|
26 | |
---|
27 | variant 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 | } |
---|
35 | variant 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 | |
---|
48 | livecheck.type none |
---|