Ticket #473: Portfile

File Portfile, 1.3 KB (added by wmalik@…, 21 years ago)

Portfile

Line 
1# $Id$
2
3PortSystem 1.0
4name           gengetopt
5version        2.9
6categories     devel
7maintainers    waqar@opendarwin.org
8description    Generates a C function that uses getopt_long function
9long_description   This program generates a C function that uses getopt_long \
10               function to parse the command line options, to validate them \
11                                                         and fills a struct. Thus your program can now handle options \
12                                                         such as: \
13                    myprog --input foo.c -o foo.o --no-tabs -i 100 *.class \
14                                                   And both long options (those that start with --) and short \
15                                                         options (start with - and consist of only one character) can \
16                                                         be handled. gengetopt is perfect if you are too lazy (like me) \
17                                                         to write all stuff required to call getopt_long, and when you \
18                                                         have a program and wish it took options. Generated code works \
19                                                         if you use GNU Autoconf or GNU Automake .
20homepage       http://www.gnu.org/software/gengetopt/gengetopt.html
21platforms      darwin
22master_sites   ftp://ftp.gnu.org/gnu/gengetopt/ \
23               ftp://mirrors.kernel.org/gnu/gengetopt/ \
24               http://mirrors.kernel.org/gnu/gengetopt/ \
25               ftp://gatekeeper.dec.com/pub/GNU/gengetopt/ \
26               ftp://ftp.keystealth.org/pub/gnu/gengetopt/
27checksums      md5 bbf9c8e0c9a39d3a958112e4bca1a255