source: trunk/dports/devel/gengetopt/Portfile

Last change on this file was 147131, checked in by khindenburg@…, 16 months ago

gengetopt: update to 2.22.6 #50985

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 147131 2016-03-29 13:54:54Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            gengetopt
6version         2.22.6
7categories      devel
8license         GPL-3+
9maintainers     waqar openmaintainer
10description     Generates a C function that uses getopt_long function
11long_description   \
12        This program generates a C function that uses getopt_long       \
13        function to parse the command line options, to validate them    \
14        and fills a struct. Thus your program can now handle options    \
15        such as: \
16                myprog --input foo.c -o foo.o --no-tabs -i 100 *.class  \
17        And both long options (those that start with --) and short      \
18        options (start with - and consist of only one character) can    \
19        be handled. gengetopt is perfect if you are too lazy (like me)  \
20        to write all stuff required to call getopt_long, and when you   \
21        have a program and wish it took options. Generated code works   \
22        if you use GNU Autoconf or GNU Automake.
23homepage        http://www.gnu.org/software/gengetopt/gengetopt.html
24platforms       darwin
25master_sites    gnu
26
27checksums           rmd160  e4e147cb4e75b4a0d0e959ae737b3082f534c3da \
28                    sha256  30b05a88604d71ef2a42a2ef26cd26df242b41f5b011ad03083143a31d9b01f7
29
30post-extract {
31        file attributes ${worksrcpath}/build-aux/install-sh -permissions a+x
32}
33
34configure.args   --enable-warnings \
35        --infodir=${prefix}/share/info --mandir=${prefix}/share/man \
36        ac_cv_path_SOURCEHIGHLIGHT=""
37
38use_parallel_build no
39
40test.run        yes
41test.target     check
Note: See TracBrowser for help on using the repository browser.