devel/argtable 2.13_3 FreeBSD
ANSI C library for parsing GNU style command line arguments
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- LGPL20+
- Categories
- devel
- Package size
- 2033.3 KiB, 4616.0 KiB installed
Description
Parsing a program's command line arguments has always been a distraction from the main programming task at hand. The argtable library simplifies the job by enabling the programmer to define the command line options directly in the source code as a static array of structs and then pass that array to argtable library functions which parse the command line accordingly. The values extracted from the command line are deposited directly into user-defined program variables where they can be accessed by the main program. Argtable can also generate descriptions of the command line syntax from that same array for display as on-line help.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/argtable | 2.13_3 |
| OpenBSD | devel/argtable | 2.13p1 |
| NetBSD | devel/argtable | 1.2 |
| DragonFly | devel/argtable | 2.13_3 |
Install
Binary package:
pkg install argtable
From the ports tree:
cd /usr/ports/devel/argtable/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= argtable>0:devel/argtable
LIB_DEPENDS= libargtable2.so:devel/argtable
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.13_3 | 2.13_3 | 2.13_2 | 2.13_3 | 2.13_3 |
| FreeBSD:14:quarterly | 2.13_3 | 2.13_3 | n/a | 2.13_3 | 2.13_3 |
| FreeBSD:15:latest | 2.13_3 | 2.13_3 | n/a | 2.13_3 | 2.13_3 |
| FreeBSD:15:quarterly | 2.13_3 | 2.13_3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.13_3 | 2.13_3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Configuration
Options name: devel_argtable
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| EXAMPLES | off | Build and/or install examples |
- USES
- libtool
- Service scripts
- none
Message after installing
Files
Manual pages 1
- argtable2(3)
pkg-plist 32
- include/argtable2.h
- lib/libargtable2.a
- lib/libargtable2.so
- lib/libargtable2.so.0
- lib/libargtable2.so.0.1.8
- libdata/pkgconfig/argtable2.pc
- share/man/man3/argtable2.3.gz
- share/doc/argtable/arg_int.gif
- share/doc/argtable/argtable2-advanced.html
- share/doc/argtable/argtable2-advanced.pdf
- share/doc/argtable/argtable2-advanced.ps
- share/doc/argtable/argtable2-intro.html
- share/doc/argtable/argtable2-intro.pdf
- share/doc/argtable/argtable2-intro.ps
- share/doc/argtable/argtable2.html
- share/doc/argtable/argtable2.pdf
- share/doc/argtable/argtable2.ps
- share/doc/argtable/argxxx.gif
- share/examples/argtable/README.txt
- share/examples/argtable/argcustom.c
- share/examples/argtable/argxxx.c
- share/examples/argtable/argxxx.h
- share/examples/argtable/callbacks.c
- share/examples/argtable/echo.c
- share/examples/argtable/hasoptvalue.c
- share/examples/argtable/ls.c
- share/examples/argtable/multisyntax.c
- share/examples/argtable/mv.c
- share/examples/argtable/myprog.c
- share/examples/argtable/myprog_C89.c
- share/examples/argtable/rm.c
- share/examples/argtable/uname.c
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| argtable2-13.tar.gz | 3.326444e+06 | 8f77e8a7ced5301af6e22f47302fdbc3b1ff41f2b83c43c77ae5ca041771ddbf |
Master sites 1
- SF/argtable/argtable/argtable-2.13
Commit history 0
No commits in the history this site was built from.