1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name gengetopt |
---|
5 | version 2.9 |
---|
6 | categories devel |
---|
7 | maintainers waqar@opendarwin.org |
---|
8 | description Generates a C function that uses getopt_long function |
---|
9 | long_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 . |
---|
20 | homepage http://www.gnu.org/software/gengetopt/gengetopt.html |
---|
21 | platforms darwin |
---|
22 | master_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/ |
---|
27 | checksums md5 bbf9c8e0c9a39d3a958112e4bca1a255 |
---|