From owner-svn-ports-all@freebsd.org Tue Apr 24 14:49:55 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2ED3DFA7F36; Tue, 24 Apr 2018 14:49:55 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CF4E976DC8; Tue, 24 Apr 2018 14:49:54 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CA3EC14861; Tue, 24 Apr 2018 14:49:54 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3OEnsYc057892; Tue, 24 Apr 2018 14:49:54 GMT (envelope-from krion@FreeBSD.org) Received: (from krion@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3OEnsHY057887; Tue, 24 Apr 2018 14:49:54 GMT (envelope-from krion@FreeBSD.org) Message-Id: <201804241449.w3OEnsHY057887@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: krion set sender to krion@FreeBSD.org using -f From: Kirill Ponomarev Date: Tue, 24 Apr 2018 14:49:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468216 - in head/devel: . cligen X-SVN-Group: ports-head X-SVN-Commit-Author: krion X-SVN-Commit-Paths: in head/devel: . cligen X-SVN-Commit-Revision: 468216 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2018 14:49:55 -0000 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 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 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