BSD Ports

devel/clig 1.9.11.1_4 FreeBSD

Auto-generate an (argc, argv) processor, usage message, and manpage

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2
Categories
devel, tcl
Package size
62.7 KiB, 213.3 KiB installed

Description

Clig generates C code to take apart the typical command-line arguments given to a C program. Input to clig is a simple description file that specifies the name and number of options, their type (Flag, String, Float, Int) and permissible range, and which options are mandatory. From this, clig will generate self-contained C code to include in your program, a usage message, and a manual page skeleton.

Clig does a lot more than getopt!

In the other systems

SystemPortVersion
FreeBSDdevel/clig1.9.11.1_4
DragonFlydevel/clig1.9.11.1_4

Install

Binary package:

pkg install clig

From the ports tree:

cd /usr/ports/devel/clig/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	clig>0:devel/clig

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:latest1.9.11.1_41.9.11.1_41.9.11.1_31.9.11.1_41.9.11.1_4
FreeBSD:14:quarterly1.9.11.1_41.9.11.1_4n/a1.9.11.1_41.9.11.1_4
FreeBSD:15:latest1.9.11.1_41.9.11.1_4n/a1.9.11.1_41.9.11.1_4
FreeBSD:15:quarterly1.9.11.1_41.9.11.1_4n/an/an/a
FreeBSD:16:latest1.9.11.1_41.9.11.1_4n/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.

Build dependencies 18
Run dependencies 18

No port depends on this one.

Configuration

Options name: devel_clig

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
shebangfix tcl tk
Service scripts
none

Files

Manual pages 14
  • clig(1)
  • clig_Commandline(n)
  • clig_Description(n)
  • clig_Double(n)
  • clig_Flag(n)
  • clig_Float(n)
  • clig_Int(n)
  • clig_Long(n)
  • clig_Name(n)
  • clig_Rest(n)
  • clig_String(n)
  • clig_Usage(n)
  • clig_Version(n)
  • clig_parseCmdline(n)
pkg-plist 71
  • bin/clig
  • bin/cligUsage
  • lib/clig/c/catArgv.c
  • lib/clig/c/checkDoubleHigher.c
  • lib/clig/c/checkDoubleLower.c
  • lib/clig/c/checkFloatConversion.c
  • lib/clig/c/checkFloatHigher.c
  • lib/clig/c/checkFloatLower.c
  • lib/clig/c/checkIntHigher.c
  • lib/clig/c/checkIntLower.c
  • lib/clig/c/checkLongHigher.c
  • lib/clig/c/checkLongLower.c
  • lib/clig/c/getDoubleOpt.c
  • lib/clig/c/getDoubleOpts.c
  • lib/clig/c/getFloatOpt.c
  • lib/clig/c/getFloatOpts.c
  • lib/clig/c/getIntOpt.c
  • lib/clig/c/getIntOpts.c
  • lib/clig/c/getLongOpt.c
  • lib/clig/c/getLongOpts.c
  • lib/clig/c/getStringOpt.c
  • lib/clig/c/getStringOpts.c
  • lib/clig/c/missingErr.c
  • lib/clig/c/template.man
  • lib/clig/pkgIndex.tcl
  • lib/clig/tcl/cmdline.cli
  • lib/clig/tcl/genCheckMandatory.tcl
  • lib/clig/tcl/genDefault.tcl
  • lib/clig/tcl/genDotC.tcl
  • lib/clig/tcl/genDotH.tcl
  • lib/clig/tcl/genGUI.tcl
  • lib/clig/tcl/genMan.tcl
  • lib/clig/tcl/genParse.tcl
  • lib/clig/tcl/genShowOptionValues.tcl
  • lib/clig/tcl/genStruct.tcl
  • lib/clig/tcl/genUsage.tcl
  • lib/clig/tcl/globalpg.tcl
  • lib/clig/tcl/ober.tcl
  • lib/clig/tcl/util.tcl
  • lib/clig/tcllib/DeclCommandline.tcl
  • lib/clig/tcllib/DeclDescription.tcl
  • lib/clig/tcllib/DeclDouble.tcl
  • lib/clig/tcllib/DeclFlag.tcl
  • lib/clig/tcllib/DeclFloat.tcl
  • lib/clig/tcllib/DeclInt.tcl
  • lib/clig/tcllib/DeclLong.tcl
  • lib/clig/tcllib/DeclName.tcl
  • lib/clig/tcllib/DeclRest.tcl
  • lib/clig/tcllib/DeclString.tcl
  • lib/clig/tcllib/DeclUsage.tcl
  • lib/clig/tcllib/DeclVersion.tcl
  • lib/clig/tcllib/declOpt.tcl
  • lib/clig/tcllib/oldOpts.tcl
  • lib/clig/tcllib/parse.tcl
  • lib/clig/tcllib/setSpec.tcl
  • lib/clig/tcllib/usage.tcl
  • lib/clig/tcllib/version.tcl
  • share/man/man1/clig.1.gz
  • share/man/mann/clig_Commandline.n.gz
  • share/man/mann/clig_Description.n.gz
  • share/man/mann/clig_Double.n.gz
  • share/man/mann/clig_Flag.n.gz
  • share/man/mann/clig_Float.n.gz
  • share/man/mann/clig_Int.n.gz
  • share/man/mann/clig_Long.n.gz
  • share/man/mann/clig_Name.n.gz
  • share/man/mann/clig_Rest.n.gz
  • share/man/mann/clig_String.n.gz
  • share/man/mann/clig_Usage.n.gz
  • share/man/mann/clig_Version.n.gz
  • share/man/mann/clig_parseCmdline.n.gz
distinfo 1
FileSizeSHA256
clig-1.9.11.1.tar.gz6803684cc73023a0c24072f6c8a044f159f80af659116647fc79b0b5461d9a81b20ec
Master sites 1
  • https://BSDforge.com/projects/source/devel/clig/

Commit history 0

No commits in the history this site was built from.