summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/jetbrains-clion/Makefile5
-rw-r--r--devel/jwt-cpp/Makefile28
-rw-r--r--devel/jwt-cpp/distinfo3
-rw-r--r--devel/jwt-cpp/pkg-descr5
-rw-r--r--devel/jwt-cpp/pkg-plist15
6 files changed, 56 insertions, 1 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 75ec22dd9cf9..61520105f23d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1107,6 +1107,7 @@
SUBDIR += judy
SUBDIR += jujutsu
SUBDIR += jwasm
+ SUBDIR += jwt-cpp
SUBDIR += kBuild
SUBDIR += kapptemplate
SUBDIR += kassert
diff --git a/devel/jetbrains-clion/Makefile b/devel/jetbrains-clion/Makefile
index ca98f31d8a10..48cb98f560ed 100644
--- a/devel/jetbrains-clion/Makefile
+++ b/devel/jetbrains-clion/Makefile
@@ -1,5 +1,6 @@
PORTNAME= clion
DISTVERSION= 2024.3.5
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://download-cdn.jetbrains.com/cpp/ \
https://packages.jetbrains.team/files/p/clion/ports/2024.3/freebsd/clang/:clang
@@ -39,7 +40,7 @@ RUN_DEPENDS= cmake:devel/cmake-core \
USES= cpe java python:run shebangfix
CPE_VENDOR= jetbrains
-JAVA_VERSION= 17+
+JAVA_VERSION= 21+
SHEBANG_FILES= plugins/python-ce/helpers/typeshed/scripts/generate_proto_stubs.sh
@@ -108,6 +109,8 @@ do-install:
# Use sqlite replacement provided by devel/jetbrains-sqlite
${MKDIR} ${STAGEDIR}${DATADIR}/lib/native/${_SQLITE_ARCH}
${LN} -sf ../../../../sqlite/${ARCH}/libsqliteij.so ${STAGEDIR}${DATADIR}/lib/native/${_SQLITE_ARCH}/libsqliteij.so
+# Disable automatic updates
+ ${ECHO} "ide.no.platform.update=FreeBSD Ports" >> ${STAGEDIR}${DATADIR}/bin/idea.properties
# Install FreeBSD native clang
${MKDIR} ${STAGEDIR}${DATADIR}/bin/clang/${_CLANG_ARCH}/bin
${INSTALL_PROGRAM} \
diff --git a/devel/jwt-cpp/Makefile b/devel/jwt-cpp/Makefile
new file mode 100644
index 000000000000..0a0b8efc6ef8
--- /dev/null
+++ b/devel/jwt-cpp/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= jwt-cpp
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.7.1
+CATEGORIES= devel
+
+MAINTAINER= kiwi@FreeBSD.org
+COMMENT= C++ library for jwt
+WWW= https://thalhammer.github.io/jwt-cpp/
+
+LICENSE= MIT
+
+BUILD_DEPENDS= nlohmann-json>=3.11:devel/nlohmann-json
+
+USES= cmake pkgconfig
+
+USE_GITHUB= yes
+GH_ACCOUNT= Thalhammer
+
+CMAKE_ON= JWT_ENABLE_COVERAGE \
+ JWT_ENABLE_FUZZING \
+ JWT_EXTERNAL_NLOHMANN_JSON
+
+CMAKE_OFF= JWT_BUILD_EXAMPLES \
+ JWT_BUILD_TESTS \
+ JWT_BUILD_DOCS \
+ JWT_EXTERNAL_PICOJSON
+
+.include <bsd.port.mk>
diff --git a/devel/jwt-cpp/distinfo b/devel/jwt-cpp/distinfo
new file mode 100644
index 000000000000..d6d2d5b80740
--- /dev/null
+++ b/devel/jwt-cpp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1747916819
+SHA256 (Thalhammer-jwt-cpp-v0.7.1_GH0.tar.gz) = e52f247d5e62fac5da6191170998271a70ce27f747f2ce8fde9b09f96a5375a4
+SIZE (Thalhammer-jwt-cpp-v0.7.1_GH0.tar.gz) = 159954
diff --git a/devel/jwt-cpp/pkg-descr b/devel/jwt-cpp/pkg-descr
new file mode 100644
index 000000000000..e84769cf0c26
--- /dev/null
+++ b/devel/jwt-cpp/pkg-descr
@@ -0,0 +1,5 @@
+A header only library for creating and validating JSON web tokens in C++.
+
+The objective is to deliver a versatile and universally applicable collection
+of algorithms, classes, and data structures, fostering adaptability and
+seamless integration with other libraries that you may already be employing.
diff --git a/devel/jwt-cpp/pkg-plist b/devel/jwt-cpp/pkg-plist
new file mode 100644
index 000000000000..ae1f5fc1911d
--- /dev/null
+++ b/devel/jwt-cpp/pkg-plist
@@ -0,0 +1,15 @@
+cmake/jwt-cpp-config-version.cmake
+cmake/jwt-cpp-config.cmake
+cmake/jwt-cpp-targets.cmake
+include/jwt-cpp/base.h
+include/jwt-cpp/jwt.h
+include/jwt-cpp/traits/boost-json/defaults.h
+include/jwt-cpp/traits/boost-json/traits.h
+include/jwt-cpp/traits/danielaparker-jsoncons/defaults.h
+include/jwt-cpp/traits/danielaparker-jsoncons/traits.h
+include/jwt-cpp/traits/defaults.h.mustache
+include/jwt-cpp/traits/kazuho-picojson/defaults.h
+include/jwt-cpp/traits/kazuho-picojson/traits.h
+include/jwt-cpp/traits/nlohmann-json/defaults.h
+include/jwt-cpp/traits/nlohmann-json/traits.h
+include/picojson/picojson.h