git: 6df600eb4a60 - main - devel/gsl-lite: New port: Implementation of the C++ Core Guidelines Support Library

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 28 Apr 2025 01:27:10 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6df600eb4a604f171a50f65a6c9f95b532c7cb65

commit 6df600eb4a604f171a50f65a6c9f95b532c7cb65
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-04-28 01:25:04 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-04-28 01:27:06 +0000

    devel/gsl-lite: New port: Implementation of the C++ Core Guidelines Support Library
---
 devel/Makefile           |  1 +
 devel/gsl-lite/Makefile  | 24 ++++++++++++++++++++++++
 devel/gsl-lite/distinfo  |  3 +++
 devel/gsl-lite/pkg-descr |  2 ++
 4 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index cae47800ad24..310d9c504e7c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -955,6 +955,7 @@
     SUBDIR += grex
     SUBDIR += grpc
     SUBDIR += gsettings-desktop-schemas
+    SUBDIR += gsl-lite
     SUBDIR += gsoap
     SUBDIR += gstreamer1-plugins-soup
     SUBDIR += gtgt
diff --git a/devel/gsl-lite/Makefile b/devel/gsl-lite/Makefile
new file mode 100644
index 000000000000..760dcb44e03b
--- /dev/null
+++ b/devel/gsl-lite/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	gsl-lite
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.42.0
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Implementation of the C++ Core Guidelines Support Library
+WWW=		https://github.com/gsl-lite/gsl-lite
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cmake
+USE_GITHUB=	yes
+
+PLIST_FILES=	include/gsl-lite/gsl-lite.hpp \
+		include/gsl/gsl-lite.hpp \
+		lib/cmake/gsl-lite/gsl-lite-config-version.cmake \
+		lib/cmake/gsl-lite/gsl-lite-config.cmake \
+		lib/cmake/gsl-lite/gsl-lite-targets.cmake
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/gsl-lite/distinfo b/devel/gsl-lite/distinfo
new file mode 100644
index 000000000000..26c404f4e07a
--- /dev/null
+++ b/devel/gsl-lite/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1745802178
+SHA256 (gsl-lite-gsl-lite-v0.42.0_GH0.tar.gz) = 54a1b6f9db72eab5d8dcaf06b36d32d4f5da3471d91dac71aba19fe15291a773
+SIZE (gsl-lite-gsl-lite-v0.42.0_GH0.tar.gz) = 131013
diff --git a/devel/gsl-lite/pkg-descr b/devel/gsl-lite/pkg-descr
new file mode 100644
index 000000000000..c5eab6d7bfb7
--- /dev/null
+++ b/devel/gsl-lite/pkg-descr
@@ -0,0 +1,2 @@
+gsl-lite is an implementation of the C++ Core Guidelines Support Library
+originally based on Microsoft GSL.