git: fd35d96196bc - main - x11-toolkits/nuklear: Update 4.9.5 -> 4.9.6

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 26 Feb 2022 08:14:16 UTC
The branch main has been updated by yuri:

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

commit fd35d96196bc2da7b4fefe162edf3a78ec694304
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-02-26 07:27:00 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-02-26 08:14:09 +0000

    x11-toolkits/nuklear: Update 4.9.5 -> 4.9.6
    
    Reported by:    portscout
---
 x11-toolkits/nuklear/Makefile | 15 ++++++++++++++-
 x11-toolkits/nuklear/distinfo |  6 +++---
 2 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/x11-toolkits/nuklear/Makefile b/x11-toolkits/nuklear/Makefile
index 35f44e751994..22608c98cd60 100644
--- a/x11-toolkits/nuklear/Makefile
+++ b/x11-toolkits/nuklear/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	nuklear
-DISTVERSION=	4.9.5
+DISTVERSION=	4.9.6
 CATEGORIES=	x11-toolkits
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -8,6 +8,13 @@ COMMENT=	Minimal-state, immediate-mode graphical user interface toolkit
 LICENSE=	MIT PD
 LICENSE_COMB=	dual
 
+TEST_DEPENDS=	gmake>0:devel/gmake \
+		glew>0:graphics/glew \
+		glfw>0:graphics/glfw \
+		libGLU>0:graphics/libGLU
+
+USES=		localbase
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	Immediate-Mode-UI
 GH_PROJECT=	Nuklear
@@ -20,4 +27,10 @@ PLIST_FILES=	include/nuklear.h
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/nuklear.h ${STAGEDIR}${PREFIX}/include
 
+do-test:
+	@cd ${WRKSRC}/example && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS}
+.for e in canvas extended file_browser skinning
+	@cd ${WRKSRC}/example/bin && ./${e}
+.endfor
+
 .include <bsd.port.mk>
diff --git a/x11-toolkits/nuklear/distinfo b/x11-toolkits/nuklear/distinfo
index 0c5163759905..7d4e231854ee 100644
--- a/x11-toolkits/nuklear/distinfo
+++ b/x11-toolkits/nuklear/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1642039228
-SHA256 (Immediate-Mode-UI-Nuklear-4.9.5_GH0.tar.gz) = 556ae9eb5c112f4fb103538d3943e2bb4671b04db24cb316911e360b1302ce28
-SIZE (Immediate-Mode-UI-Nuklear-4.9.5_GH0.tar.gz) = 1962403
+TIMESTAMP = 1645845797
+SHA256 (Immediate-Mode-UI-Nuklear-4.9.6_GH0.tar.gz) = 087859320af36a0409f7db48a9b15000307bde93bde3d4f6fd8ee6b5df0e2b2b
+SIZE (Immediate-Mode-UI-Nuklear-4.9.6_GH0.tar.gz) = 1965152