1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Add devel/cligen:

cligen builds and interprets datastructures (a parse-tree) which a
library (libcligen) interprets in runtime. It is fast and efficient
and helps you develop CLIs easier. You enter a CLI syntax either in
a text file, you write callback functions where you call the right
library routines.

WWW: http://cligen.se/

PR:		227663
Submitted by:	Dave Cornejo <dcornejo@netgate.com>
This commit is contained in:
Kirill Ponomarev 2018-04-24 14:49:54 +00:00
parent c94f459f98
commit 7b3b2e6a5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=468216
5 changed files with 56 additions and 0 deletions

View File

@ -311,6 +311,7 @@
SUBDIR += cld2
SUBDIR += clewn
SUBDIR += clig
SUBDIR += cligen
SUBDIR += clinfo
SUBDIR += clisp-hyperspec
SUBDIR += clojure-cider

26
devel/cligen/Makefile Normal file
View File

@ -0,0 +1,26 @@
# $FreeBSD$
PORTNAME= cligen
DISTVERSION= 3.7.0-b.2080412
CATEGORIES= devel
MAINTAINER= dcornejo@netgate.com
COMMENT= CLIgen is a Command-Line Interface generator
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USES= bison gmake
USE_GITHUB= yes
GH_ACCOUNT= olofhagsand
GH_TAGNAME= 6da03b06cb5330f3ca9c619779565dceef4f203d
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.3.7
.include <bsd.port.mk>

3
devel/cligen/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1524507504
SHA256 (olofhagsand-cligen-3.7.0-b.2080412-6da03b06cb5330f3ca9c619779565dceef4f203d_GH0.tar.gz) = aeb40ca801576af87e8c7a6f477128729c445309dd247f996ebd347b2e6d49b6
SIZE (olofhagsand-cligen-3.7.0-b.2080412-6da03b06cb5330f3ca9c619779565dceef4f203d_GH0.tar.gz) = 770460

11
devel/cligen/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
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.
WWW: http://cligen.se/

15
devel/cligen/pkg-plist Normal file
View File

@ -0,0 +1,15 @@
include/cligen/cligen.h
include/cligen/cligen_buf.h
include/cligen/cligen_cvec.h
include/cligen/cligen_expand.h
include/cligen/cligen_gen.h
include/cligen/cligen_handle.h
include/cligen/cligen_io.h
include/cligen/cligen_print.h
include/cligen/cligen_read.h
include/cligen/cligen_syntax.h
include/cligen/cligen_util.h
include/cligen/cligen_var.h
lib/libcligen.so
lib/libcligen.so.3
lib/libcligen.so.3.7