git: 33d16240154e - main - textproc/fmtlib: remove the duplicate of devel/libfmt

From: Mikhail Teterin <mi_at_FreeBSD.org>
Date: Mon, 18 Dec 2023 07:05:08 UTC
The branch main has been updated by mi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=33d16240154eb5a010ad430a478f9465b9013351

commit 33d16240154eb5a010ad430a478f9465b9013351
Author:     Mikhail Teterin <mi@FreeBSD.org>
AuthorDate: 2023-12-18 07:02:41 +0000
Commit:     Mikhail Teterin <mi@FreeBSD.org>
CommitDate: 2023-12-18 07:02:41 +0000

    textproc/fmtlib: remove the duplicate of devel/libfmt
    
    Correct net-im/tdlib-purple to depend on the correct one.
    
    Notified by: vanilla@
---
 net-im/tdlib-purple/Makefile |  2 +-
 textproc/Makefile            |  1 -
 textproc/fmtlib/Makefile     | 24 ------------------------
 textproc/fmtlib/distinfo     |  3 ---
 textproc/fmtlib/pkg-descr    | 14 --------------
 textproc/fmtlib/pkg-plist    | 21 ---------------------
 6 files changed, 1 insertion(+), 64 deletions(-)

diff --git a/net-im/tdlib-purple/Makefile b/net-im/tdlib-purple/Makefile
index 1f40824104b9..cf560691aaa2 100644
--- a/net-im/tdlib-purple/Makefile
+++ b/net-im/tdlib-purple/Makefile
@@ -13,7 +13,7 @@ WWW=		https://github.com/ars3niy/tdlib-purple
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-LIB_DEPENDS=	libfmt.so:textproc/fmtlib	\
+LIB_DEPENDS=	libfmt.so:devel/libfmt	\
 		libtdapi.so:net-im/tdlib	\
 		librlottie.so:graphics/rlottie	\
 		libwebp.so:graphics/webp	\
diff --git a/textproc/Makefile b/textproc/Makefile
index 0e914e6b2e77..5dc8c7591c00 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -224,7 +224,6 @@
     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
deleted file mode 100644
index 5e23fd014b06..000000000000
--- a/textproc/fmtlib/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-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 <bsd.port.mk>
diff --git a/textproc/fmtlib/distinfo b/textproc/fmtlib/distinfo
deleted file mode 100644
index 8d6b901b426a..000000000000
--- a/textproc/fmtlib/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-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
deleted file mode 100644
index c80bbd5f4ed5..000000000000
--- a/textproc/fmtlib/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-{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
deleted file mode 100644
index d4356647f3e4..000000000000
--- a/textproc/fmtlib/pkg-plist
+++ /dev/null
@@ -1,21 +0,0 @@
-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