BSD Ports

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

SystemPortVersion
FreeBSDdevel/argtable2.13_3
OpenBSDdevel/argtable2.13p1
NetBSDdevel/argtable1.2
DragonFlydevel/argtable2.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.13_32.13_32.13_22.13_32.13_3
FreeBSD:14:quarterly2.13_32.13_3n/a2.13_32.13_3
FreeBSD:15:latest2.13_32.13_3n/a2.13_32.13_3
FreeBSD:15:quarterly2.13_32.13_3n/an/an/a
FreeBSD:16:latest2.13_32.13_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
USES
libtool
Service scripts
none

Message after installing

===>   NOTICE:

The argtable port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

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
FileSizeSHA256
argtable2-13.tar.gz3.326444e+068f77e8a7ced5301af6e22f47302fdbc3b1ff41f2b83c43c77ae5ca041771ddbf
Master sites 1
  • SF/argtable/argtable/argtable-2.13

Commit history 0

No commits in the history this site was built from.