Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jun 2021 04:09:13 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 670ca5bb1b8c - main - devel/libfort: New port: C/C++ library to print formatted ASCII tables for console applications
Message-ID:  <202106060409.15649Dpm024614@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=670ca5bb1b8cbd0c1eb7a5003a37587c6eb3c214

commit 670ca5bb1b8cbd0c1eb7a5003a37587c6eb3c214
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-06-06 04:08:09 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
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 <bsd.port.mk>
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



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