From nobody Wed Mar 15 02:27:23 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PbvRw1YN5z3xqgy; Wed, 15 Mar 2023 02:27:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PbvRw161tz4PBw; Wed, 15 Mar 2023 02:27:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678847244; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=u2V2/iXG9+sI7MswAvvwTQWzY9jmQVec8xX+iWVT1Ko=; b=riYpjRfh7M4YgtWwnZuhq5VulVGkMobVECWeJPSWkDQKoDlUwP+ww1mEq96DL+ku+5tE66 zSwAyDvCJo4aoMVFG9eG5REGPTeKHA//Y3BQlzT9iMDoyJr9pHMHmPrUE7xnaj0L4E80qS nZSv3fVVPls1ljBqyKfbPB5T2C288Fb+WQKVKZP4GsZ1zMskyTmSJ+Veb2Vt/cZDlzG9Vn iYX6noFAmZIASl7cBnGs0Kdf/zy6PKbB8Sg0dCuRSK5qJUqAlZB7YqCUoIKRS64Tiu1EUa 853NggfyUkrggylmaRZ51p8blMIxlgG6ciby04druOo8eM+kE+73O0I+muEK8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678847244; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=u2V2/iXG9+sI7MswAvvwTQWzY9jmQVec8xX+iWVT1Ko=; b=iLvwtNyOqSA5NSOarj1+y7NTIcCg7w/BA9HdIE1GovEABv3RtGDtNNYiwFKCZhHoYGOtul /GcpA0PfmBHKwUmjaQ5BaHs9slFUzwvlHEl34JsWbg5/xGKZ8XU2UvguS04iMZbJDt9PiK JKVwzlpHjJGEmFSFf9fnlE4Yxw37BKXiHONLmDHe4JlMZXJ32oLaow8G3BwC4FW/0Bb4Kq sTpnwpZKuifz27JZ5SdOIUdrEiFmdUTXOgksqYHRJJABaazq1WZPHaLMBgBC9RmZbSU190 I7jGX+5zK959LcC0WfzstQH7nrEYG3zWaH1AWzLgLdsfDouflQxiXncNj0Mvug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678847244; a=rsa-sha256; cv=none; b=ARt/YGuc4R5MlNmi+CVGTdUHR24WzyGZ5I7ElcVc4ud2daj6bqjHMIfGGvtNvcso3PMjb+ FyfzP+cY0hDpglibaJuJkk2nWRTnV81bUCNqHhBsFOAzo3Ne2/b4uu2GDr08IV7mykUxh7 lnGj9GnwDkXJzWBfG2YenZfWctDxVTNGsZxheNSDgkwbTkKCk9u3IYKEP35MGXSpJQYSKY pm50bRj0xvHKbxl+GzWJv7PyuXmJA8Jva9G/qqgxw149/6tL0K+WRUOguTK2CN4yTbTZMr hBUYWviP0JHuTtdQmX7GhWwv13JaUUX/eA/SWKMh35yB0pbTB9Hiw2NFbQ8+cw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PbvRw08wNz10SN; Wed, 15 Mar 2023 02:27:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32F2RNiG043117; Wed, 15 Mar 2023 02:27:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32F2RNXM043116; Wed, 15 Mar 2023 02:27:23 GMT (envelope-from git) Date: Wed, 15 Mar 2023 02:27:23 GMT Message-Id: <202303150227.32F2RNXM043116@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: d87c3c521187 - main - devel/cli: New port: Library for interactive command line interfaces in modern C++ List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d87c3c521187369b13e234b19943df54d764cfab Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d87c3c521187369b13e234b19943df54d764cfab commit d87c3c521187369b13e234b19943df54d764cfab Author: Yuri Victorovich AuthorDate: 2023-03-15 02:26:39 +0000 Commit: Yuri Victorovich CommitDate: 2023-03-15 02:27:21 +0000 devel/cli: New port: Library for interactive command line interfaces in modern C++ --- devel/Makefile | 1 + devel/cli/Makefile | 25 +++++++++++++++++++++++++ devel/cli/distinfo | 3 +++ devel/cli/pkg-descr | 2 ++ devel/cli/pkg-plist | 39 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 70 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 0dbfaf4fb83b..25e17a780213 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -386,6 +386,7 @@ SUBDIR += clazy SUBDIR += cld2 SUBDIR += clewn + SUBDIR += cli SUBDIR += cli11 SUBDIR += clig SUBDIR += cligen diff --git a/devel/cli/Makefile b/devel/cli/Makefile new file mode 100644 index 000000000000..21436090c8f7 --- /dev/null +++ b/devel/cli/Makefile @@ -0,0 +1,25 @@ +PORTNAME= cli +DISTVERSIONPREFIX= v +DISTVERSION= 2.0.2 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Library for interactive command line interfaces in modern C++ +WWW= https://github.com/daniele77/cli + +LICENSE= BSL +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${LOCALBASE}/include/asio/version.hpp:net/asio \ + ${LOCALBASE}/include/boost/version.hpp:devel/boost-libs + +USES= cmake:testing compiler:c++11-lang python:build + +CMAKE_TESTING_ON= CLI_BuildTests + +USE_GITHUB= yes +GH_ACCOUNT= daniele77 + +NO_ARCH= yes + +.include diff --git a/devel/cli/distinfo b/devel/cli/distinfo new file mode 100644 index 000000000000..f46847d7f872 --- /dev/null +++ b/devel/cli/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1678837684 +SHA256 (daniele77-cli-v2.0.2_GH0.tar.gz) = 50e2cb469fc209957aea49d37e3ab7c777b7d16bd1f4be4b485fb6122ead4360 +SIZE (daniele77-cli-v2.0.2_GH0.tar.gz) = 143716 diff --git a/devel/cli/pkg-descr b/devel/cli/pkg-descr new file mode 100644 index 000000000000..ac218f2054d4 --- /dev/null +++ b/devel/cli/pkg-descr @@ -0,0 +1,2 @@ +cli is a cross-platform header only C++14 library for interactive command line +interfaces (Cisco style). diff --git a/devel/cli/pkg-plist b/devel/cli/pkg-plist new file mode 100644 index 000000000000..4a624a1f75fb --- /dev/null +++ b/devel/cli/pkg-plist @@ -0,0 +1,39 @@ +include/cli/boostasiocliasyncsession.h +include/cli/boostasioremotecli.h +include/cli/boostasioscheduler.h +include/cli/cli.h +include/cli/clifilesession.h +include/cli/clilocalsession.h +include/cli/colorprofile.h +include/cli/detail/boostasiolib.h +include/cli/detail/commonprefix.h +include/cli/detail/fromstring.h +include/cli/detail/genericasioremotecli.h +include/cli/detail/genericasioscheduler.h +include/cli/detail/genericcliasyncsession.h +include/cli/detail/history.h +include/cli/detail/inputdevice.h +include/cli/detail/inputhandler.h +include/cli/detail/keyboard.h +include/cli/detail/linuxkeyboard.h +include/cli/detail/newboostasiolib.h +include/cli/detail/newstandaloneasiolib.h +include/cli/detail/oldboostasiolib.h +include/cli/detail/oldstandaloneasiolib.h +include/cli/detail/rang.h +include/cli/detail/server.h +include/cli/detail/split.h +include/cli/detail/standaloneasiolib.h +include/cli/detail/terminal.h +include/cli/detail/winkeyboard.h +include/cli/filehistorystorage.h +include/cli/historystorage.h +include/cli/loopscheduler.h +include/cli/scheduler.h +include/cli/standaloneasiocliasyncsession.h +include/cli/standaloneasioremotecli.h +include/cli/standaloneasioscheduler.h +include/cli/volatilehistorystorage.h +lib/cmake/cli/cliConfig.cmake +lib/cmake/cli/cliTargets.cmake +share/pkgconfig/cli.pc