Re: NEW: devel/gengetopt
Ping. On 11/06/14 20:16, Brian Callahan wrote: Update to this: Pascal does not want maintainer, so I will take it. Giovanni asked me to patch sed to gsed so the test will pass, but doing this causes `make test` to invoke autoconf/automake, which seems like overkill for just one test so I'm planning to leave it as-is. On 11/06/14 15:48, Brian Callahan wrote: Hi ports -- Attached is a new port, devel/gengetopt. pkg/DESCR: gengetopt generates a C function that uses getopt_long function to parse the command line options, to validate them and fill a struct. gengetopt is perfect if you are too lazy to write all stuff required to call getopt_long, and when you have a program and wish it took options. Generated code works if you use GNU Autoconf or GNU Automake. --- This port was submitted by Pascal Schmid back in April [0] and not acted upon. I'm resubmitting this now (with clean-up) because I need it for a new port. Pascal: Do you want to take maintainer of this? Otherwise, I will. Works well on amd64. One of the tests in `make test` fails because our sed doesn't have an -i option. OK? ~Brian [0] http://marc.info/?l=openbsd-portsm=139833464830636w=2
NEW: devel/gengetopt
Hi ports -- Attached is a new port, devel/gengetopt. pkg/DESCR: gengetopt generates a C function that uses getopt_long function to parse the command line options, to validate them and fill a struct. gengetopt is perfect if you are too lazy to write all stuff required to call getopt_long, and when you have a program and wish it took options. Generated code works if you use GNU Autoconf or GNU Automake. --- This port was submitted by Pascal Schmid back in April [0] and not acted upon. I'm resubmitting this now (with clean-up) because I need it for a new port. Pascal: Do you want to take maintainer of this? Otherwise, I will. Works well on amd64. One of the tests in `make test` fails because our sed doesn't have an -i option. OK? ~Brian [0] http://marc.info/?l=openbsd-portsm=139833464830636w=2 gengetopt.tgz Description: Binary data
Re: NEW: devel/gengetopt
Update to this: Pascal does not want maintainer, so I will take it. Giovanni asked me to patch sed to gsed so the test will pass, but doing this causes `make test` to invoke autoconf/automake, which seems like overkill for just one test so I'm planning to leave it as-is. On 11/06/14 15:48, Brian Callahan wrote: Hi ports -- Attached is a new port, devel/gengetopt. pkg/DESCR: gengetopt generates a C function that uses getopt_long function to parse the command line options, to validate them and fill a struct. gengetopt is perfect if you are too lazy to write all stuff required to call getopt_long, and when you have a program and wish it took options. Generated code works if you use GNU Autoconf or GNU Automake. --- This port was submitted by Pascal Schmid back in April [0] and not acted upon. I'm resubmitting this now (with clean-up) because I need it for a new port. Pascal: Do you want to take maintainer of this? Otherwise, I will. Works well on amd64. One of the tests in `make test` fails because our sed doesn't have an -i option. OK? ~Brian [0] http://marc.info/?l=openbsd-portsm=139833464830636w=2
[NEW] devel/gengetopt
Hi ports, gengetopt was tested on amd64, i386 and macppc gengetopt is a command line parser for c programs Homepage: https://www.gnu.org/software/gengetopt/ - Pascal gengetopt.tar.gz Description: application/tar-gz