From nobody Mon Dec 18 06:36:58 2023 X-Original-To: dev-commits-ports-all@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 4StqqZ62c1z53yYF; Mon, 18 Dec 2023 06:36:58 +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 4StqqZ5Lhmz3XHK; Mon, 18 Dec 2023 06:36:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702881418; 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=eCM9EjTVf8GcV8AHV0H6Lb5YxcshD8Sb4zJIFQ4JKRA=; b=ofA2xD+LVr/IJrx6XIXP0pu5G6uX5d+9/l74w/LK2NkFxx0OGDOc1d3saxuwVnd8PMlFr1 cFUhZCykaRjys5ljw7ra2UWVDw5Gsl/zRalxDCmbp2l60dq87G+uB4/C4mNXC8AQ1UASL5 xpuVZIKySG7N2vuaSVYFhvZN0wEIssEq8ExVTCR4wm/bc+OpWfeaRc4sV3LK/EQxa1BmZh cgjR5WtgaIlnCTMrx8yY6c1vV8XoXUyR7uZZyy6S5bAsMXiFND354345R01eeovTOygqSK 6BZbsQDSStB2osST79pdd3pRtwZq+xRIZmFHDlD7QSXnCOdkG6GKlCSva95qzg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702881418; a=rsa-sha256; cv=none; b=WFL7GLXBA3vH9vaD9Kp2wXw5nm7NOIQzciJrkdWY9ScAS1jo6e1jCOl8gHrAGSb/XORJtu +9OFfwqWI38m8LuZkUIOHNqokXxMoR5tJ0ayQdPEgOIGoj4aVqpymwmbn538MdlEUVkgwv gpJZbM84WlG0WyOrRHpJCdSN6OEchnVGu8n0+sJdBHk/1AoevkemjB85p9MXkqYsuWdUwJ X6QkuiKJP3AfR7bLYfqL61rFDgrhhD0IqAJkUA4aZLfVI81qGCX43LEoh9XTXZq73+TGQi WdMcxU5Wgu18BNKCT3esMe1Qyn25r8b2CRAt4P8z8p6Wt3FRrDDVj7bvRw38Dw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702881418; 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=eCM9EjTVf8GcV8AHV0H6Lb5YxcshD8Sb4zJIFQ4JKRA=; b=uVO0d6an2vy9HB4dB5TR7A2KMEn7SqmlrjKKBIUoF9xQS0638tb3WuOmrTPc6O6hDEJ5n9 Lz0DNo7jv4uU9w8mlCt/5Yt9AbOd0lwg5BXJlE+tRWDFRGpnQoWqQqatjXI0mjI3oUjQTL UKATznjDHCcWnhMAPOwDHQMB6iotBWSG7zBkHsfjeaVLKpBg5ZMFSGH4UzOe8H3mk6XaS2 MwhEScLdpCP5URGNyDnBm5D60Tbqp/JYyvZlRT+wBQ8+CQP0b03nhN45NkwP1iAdYpbfqx +2KVodUuFIEHvjl25skJTN39qy8Fj/e3KItq/tvEL4SkhtIpEvRrxy/jX7ozCQ== 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 4StqqZ4BkBz18xD; Mon, 18 Dec 2023 06:36:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BI6awsH015608; Mon, 18 Dec 2023 06:36:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BI6aw7e015605; Mon, 18 Dec 2023 06:36:58 GMT (envelope-from git) Date: Mon, 18 Dec 2023 06:36:58 GMT Message-Id: <202312180636.3BI6aw7e015605@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikhail Teterin Subject: git: 362ea03643fc - main - testproc/fmtlib: add new port of fmtlib List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mi X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 362ea03643fc92c9ca8c06c38996a9cf8a2435fc Auto-Submitted: auto-generated The branch main has been updated by mi: URL: https://cgit.FreeBSD.org/ports/commit/?id=362ea03643fc92c9ca8c06c38996a9cf8a2435fc commit 362ea03643fc92c9ca8c06c38996a9cf8a2435fc Author: Mikhail Teterin AuthorDate: 2023-12-18 06:34:58 +0000 Commit: Mikhail Teterin CommitDate: 2023-12-18 06:36:54 +0000 testproc/fmtlib: add new port of fmtlib According to the pkgsrc repository, this library used to be known as cppformat. WWW: https://fmt.dev/ --- textproc/Makefile | 1 + textproc/fmtlib/Makefile | 24 ++++++++++++++++++++++++ textproc/fmtlib/distinfo | 3 +++ textproc/fmtlib/pkg-descr | 14 ++++++++++++++ textproc/fmtlib/pkg-plist | 21 +++++++++++++++++++++ 5 files changed, 63 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 5dc8c7591c00..0e914e6b2e77 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -224,6 +224,7 @@ SUBDIR += flex SUBDIR += flip SUBDIR += fmtlatex + SUBDIR += fmtlib SUBDIR += fo-aspell SUBDIR += foiltex SUBDIR += fop diff --git a/textproc/fmtlib/Makefile b/textproc/fmtlib/Makefile new file mode 100644 index 000000000000..5e23fd014b06 --- /dev/null +++ b/textproc/fmtlib/Makefile @@ -0,0 +1,24 @@ +PORTNAME= fmtlib +PORTVERSION= 10.1.1 +CATEGORIES= textproc devel + +MAINTAINER= mi@aldan.algebra.com +COMMENT= Modern formatting library (formerly cppformat) +WWW= https://fmt.dev/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.rst + +USES= cmake + +USE_GITHUB= uh-huh +GH_ACCOUNT= fmtlib +GH_PROJECT= fmt + +OPTIONS_DEFINE= TEST + +CMAKE_ON= BUILD_SHARED_LIBS +TEST_CMAKE_OFF= -DFMT_TEST=0 +TEST_TEST_TARGET= test + +.include diff --git a/textproc/fmtlib/distinfo b/textproc/fmtlib/distinfo new file mode 100644 index 000000000000..8d6b901b426a --- /dev/null +++ b/textproc/fmtlib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1702878142 +SHA256 (fmtlib-fmt-10.1.1_GH0.tar.gz) = 78b8c0a72b1c35e4443a7e308df52498252d1cefc2b08c9a97bc9ee6cfe61f8b +SIZE (fmtlib-fmt-10.1.1_GH0.tar.gz) = 851454 diff --git a/textproc/fmtlib/pkg-descr b/textproc/fmtlib/pkg-descr new file mode 100644 index 000000000000..c80bbd5f4ed5 --- /dev/null +++ b/textproc/fmtlib/pkg-descr @@ -0,0 +1,14 @@ +{fmt} is an open-source formatting library providing a fast and +safe alternative to C stdio and C++ iostreams. + +* Simple format API with positional arguments for localization +* Implementation of C++20 std::format and C++23 std::print +* Format string syntax similar to Python's format +* Fast IEEE 754 floating-point formatter with correct rounding, shortness + and round-trip guarantees using the Dragonbox algorithm +* Portable Unicode support +* Safe printf implementation including the POSIX extension for + positional arguments + +If you like this project, please consider donating to one of the +funds that help victims of the war in Ukraine: www.stopputin.net/ diff --git a/textproc/fmtlib/pkg-plist b/textproc/fmtlib/pkg-plist new file mode 100644 index 000000000000..d4356647f3e4 --- /dev/null +++ b/textproc/fmtlib/pkg-plist @@ -0,0 +1,21 @@ +lib/libfmt.so.10.1.0 +lib/libfmt.so.10 +lib/libfmt.so +include/fmt/args.h +include/fmt/chrono.h +include/fmt/color.h +include/fmt/compile.h +include/fmt/core.h +include/fmt/format.h +include/fmt/format-inl.h +include/fmt/os.h +include/fmt/ostream.h +include/fmt/printf.h +include/fmt/ranges.h +include/fmt/std.h +include/fmt/xchar.h +lib/cmake/fmt/fmt-config.cmake +lib/cmake/fmt/fmt-config-version.cmake +lib/cmake/fmt/fmt-targets.cmake +lib/cmake/fmt/fmt-targets-release.cmake +libdata/pkgconfig/fmt.pc