Port details on branch 2022Q2 |
- gengetopt Tool for generating a C function which parses command line arguments
- 2.23_1 devel =50 2.23_1Version of this port present on the latest quarterly branch.
- Maintainer: bofh@FreeBSD.org
- Port Added: 2000-10-27 23:48:46
- Last Update: 2024-01-10 08:16:01
- Commit Hash: 1b819e4
- People watching this port, also watch:: pcre, popt, m4, gmake, libiconv
- License: GPLv3+
- WWW:
- https://www.gnu.org/software/gengetopt/
- Description:
- This program generate a C function that uses getopt_long function to parse
the command line options, validate them and fill a struct.
Thus your program can now handle options such as:
myprog --input foo.c -o foo.o --no-tabs -i 100 *.class
And both long options (those that start with --) and short options (start
with - and consist of only one character) can be handled. For standards
about short and long options you may want to take a look at the GNU Coding
Standards.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- gengetopt>0:devel/gengetopt
- To install the port:
- cd /usr/ports/devel/gengetopt/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/gengetopt
- pkg install gengetopt
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: gengetopt
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1615678600
SHA256 (gengetopt-2.23.tar.xz) = b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac
SIZE (gengetopt-2.23.tar.xz) = 584860
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Runtime dependencies:
-
- indexinfo : print/indexinfo
- This port is required by:
- for Build
-
- graphics/cptutils
- math/lcalc
- net/zmap
- security/libu2f-host
- security/yubico-piv-tool
- www/janus
Configuration Options:
- ===> The following configuration options are available for gengetopt-2.23_1:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
- Options name:
- devel_gengetopt
- USES:
- tar:xz
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|