source: trunk/dports/devel/gengetopt/Portfile @ 75257

Last change on this file since 75257 was 75257, checked in by ryandesign@…, 10 years ago

Mark Waqar's ports as openmaintainer since he hasn't committed in years

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