BSD Ports

devel/cligen 6.5.0 FreeBSD

Command-line interface generator

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20
Categories
devel
Package size
95.2 KiB, 285.3 KiB installed

Description

CLIgen is a Command-Line Interface generator written by Olof Hagsand.

Well, actually it is not really a generator, since it does not generate code for CLI's. Instead, it builds and interprets datastructures (a parse-tree) which a library (libcligen) interprets in runtime. It is fast and efficient and helps you develop CLI:s easier. You enter a CLI syntax either in a text file, you write callback functions where you call the right library routines. The callback functions add the semantics, that is, what the commands in the CLI are supposed to do.

In the other systems

SystemPortVersion
FreeBSDdevel/cligen6.5.0
DragonFlydevel/cligen6.5.0

Install

Binary package:

pkg install cligen

From the ports tree:

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

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

RUN_DEPENDS=	cligen>0:devel/cligen
LIB_DEPENDS=	libcligen.so:devel/cligen

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:latest6.5.06.5.05.8.06.5.06.5.0
FreeBSD:14:quarterly6.5.06.5.0n/a6.5.06.5.0
FreeBSD:15:latest6.5.06.5.0n/a6.5.06.5.0
FreeBSD:15:quarterly6.5.06.5.0n/an/an/a
FreeBSD:16:latest6.5.06.5.0n/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 8
Required by 1

Configuration

No options to configure.

USES
autoreconf bison:alias compiler:c11 gmake
Service scripts
none

Files

pkg-plist 21
  • include/cligen/cligen.h
  • include/cligen/cligen_buf.h
  • include/cligen/cligen_callback.h
  • include/cligen/cligen_cv.h
  • include/cligen/cligen_cvec.h
  • include/cligen/cligen_expand.h
  • include/cligen/cligen_handle.h
  • include/cligen/cligen_history.h
  • include/cligen/cligen_io.h
  • include/cligen/cligen_object.h
  • include/cligen/cligen_parsetree.h
  • include/cligen/cligen_print.h
  • include/cligen/cligen_pt_head.h
  • include/cligen/cligen_read.h
  • include/cligen/cligen_regex.h
  • include/cligen/cligen_result.h
  • include/cligen/cligen_syntax.h
  • include/cligen/cligen_util.h
  • lib/libcligen.so
  • lib/libcligen.so.
  • lib/libcligen.so.
distinfo 1
FileSizeSHA256
clicon-cligen-6.5.0_GH0.tar.gz8161998b3943430f7aa9eea6a5f7cf1ace5b68eb382380cf68f41ae3ef5e032e08816f

Commit history 0

No commits in the history this site was built from.