Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2018 14:49:54 +0000 (UTC)
From:      Kirill Ponomarev <krion@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r468216 - in head/devel: . cligen
Message-ID:  <201804241449.w3OEnsHY057887@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: krion
Date: Tue Apr 24 14:49:54 2018
New Revision: 468216
URL: https://svnweb.freebsd.org/changeset/ports/468216

Log:
  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>

Added:
  head/devel/cligen/
  head/devel/cligen/Makefile   (contents, props changed)
  head/devel/cligen/distinfo   (contents, props changed)
  head/devel/cligen/pkg-descr   (contents, props changed)
  head/devel/cligen/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Apr 24 14:25:06 2018	(r468215)
+++ head/devel/Makefile	Tue Apr 24 14:49:54 2018	(r468216)
@@ -311,6 +311,7 @@
     SUBDIR += cld2
     SUBDIR += clewn
     SUBDIR += clig
+    SUBDIR += cligen
     SUBDIR += clinfo
     SUBDIR += clisp-hyperspec
     SUBDIR += clojure-cider

Added: head/devel/cligen/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cligen/Makefile	Tue Apr 24 14:49:54 2018	(r468216)
@@ -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>

Added: head/devel/cligen/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cligen/distinfo	Tue Apr 24 14:49:54 2018	(r468216)
@@ -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

Added: head/devel/cligen/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cligen/pkg-descr	Tue Apr 24 14:49:54 2018	(r468216)
@@ -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/

Added: head/devel/cligen/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cligen/pkg-plist	Tue Apr 24 14:49:54 2018	(r468216)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804241449.w3OEnsHY057887>