From owner-dev-commits-ports-all@freebsd.org Sun Jun 6 04:09:14 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9396C65069B; Sun, 6 Jun 2021 04:09:14 +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 4FyNL21Dp2z3Hxk; Sun, 6 Jun 2021 04:09:14 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 C3A6F1D03C; Sun, 6 Jun 2021 04:09:13 +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 15649D1I024615; Sun, 6 Jun 2021 04:09:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15649Dpm024614; Sun, 6 Jun 2021 04:09:13 GMT (envelope-from git) Date: Sun, 6 Jun 2021 04:09:13 GMT Message-Id: <202106060409.15649Dpm024614@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: 670ca5bb1b8c - main - devel/libfort: New port: C/C++ library to print formatted ASCII tables for console applications 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: 670ca5bb1b8cbd0c1eb7a5003a37587c6eb3c214 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2021 04:09:14 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=670ca5bb1b8cbd0c1eb7a5003a37587c6eb3c214 commit 670ca5bb1b8cbd0c1eb7a5003a37587c6eb3c214 Author: Yuri Victorovich AuthorDate: 2021-06-06 04:08:09 +0000 Commit: Yuri Victorovich CommitDate: 2021-06-06 04:08:09 +0000 devel/libfort: New port: C/C++ library to print formatted ASCII tables for console applications --- devel/Makefile | 1 + devel/libfort/Makefile | 25 +++++++++++++++++++++++++ devel/libfort/distinfo | 3 +++ devel/libfort/pkg-descr | 12 ++++++++++++ devel/libfort/pkg-plist | 10 ++++++++++ 5 files changed, 51 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 3c2101a31ac9..9c8642039720 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1190,6 +1190,7 @@ SUBDIR += libfixposix SUBDIR += libflatarray SUBDIR += libfmt + SUBDIR += libfort SUBDIR += libfortuna SUBDIR += libfreefare SUBDIR += libfsapfs diff --git a/devel/libfort/Makefile b/devel/libfort/Makefile new file mode 100644 index 000000000000..d9a1f02f9f9c --- /dev/null +++ b/devel/libfort/Makefile @@ -0,0 +1,25 @@ +PORTNAME= libfort +DISTVERSIONPREFIX= v +DISTVERSION= 0.4.2-10 +DISTVERSIONSUFFIX= -g8f83b51 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C/C++ library to print formatted ASCII tables for console applications + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake:testing +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= seleznevae + +CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_OFF= FORT_ENABLE_TESTING +CMAKE_TESTING_ON= FORT_ENABLE_TESTING # 2 tests are known to fail: https://github.com/seleznevae/libfort/issues/65 + +# project also optionally bundles devel/astyle + +.include diff --git a/devel/libfort/distinfo b/devel/libfort/distinfo new file mode 100644 index 000000000000..47eb3025f0de --- /dev/null +++ b/devel/libfort/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1622951665 +SHA256 (seleznevae-libfort-v0.4.2-10-g8f83b51_GH0.tar.gz) = cae52e9f532599e6269af60b7ef647178af0ef078bca3978de1c05128ee15347 +SIZE (seleznevae-libfort-v0.4.2-10-g8f83b51_GH0.tar.gz) = 289603 diff --git a/devel/libfort/pkg-descr b/devel/libfort/pkg-descr new file mode 100644 index 000000000000..e1c27c49d7b6 --- /dev/null +++ b/devel/libfort/pkg-descr @@ -0,0 +1,12 @@ +ibfort is a simple crossplatform library to create formatted text tables. + +Features: +* Easy to integrate (only 2 files) +* Customization of appearance (various border styles and row/column/cell + properties for indentation, alignment, padding) +* A number of functions to fill the table (add content by adding separate cells, + rows or use printf like functions) +* Support of multiple lines in cells +* Support of UTF-8 and wide characters + +WWW: https://github.com/seleznevae/libfort diff --git a/devel/libfort/pkg-plist b/devel/libfort/pkg-plist new file mode 100644 index 000000000000..7852d7db374b --- /dev/null +++ b/devel/libfort/pkg-plist @@ -0,0 +1,10 @@ +include/fort.h +include/fort.hpp +lib/cmake/libfort/libfort-config-version.cmake +lib/cmake/libfort/libfort-config.cmake +lib/cmake/libfort/libfort-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/libfort/libfort-targets.cmake +lib/libfort.so +lib/libfort.so.0.5 +lib/libfort.so.0.5.0 +libdata/pkgconfig/libfort.pc