git: 2ea2161a748a - main - devel/stb: update g20211010 → 2.37-20241109

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 19 Nov 2024 02:59:57 UTC
The branch main has been updated by yuri:

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

commit 2ea2161a748a4de9ca5e57b5916ce8926a3ad7c6
Author:     Älven <alster@vinterdalen.se>
AuthorDate: 2024-11-19 01:47:43 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-19 01:47:43 +0000

    devel/stb: update g20211010 → 2.37-20241109
    
    PR:     282686
---
 devel/stb/Makefile  | 13 ++++++++-----
 devel/stb/distinfo  |  6 +++---
 devel/stb/pkg-plist |  3 ++-
 3 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/devel/stb/Makefile b/devel/stb/Makefile
index de861f528657..3521700f3674 100644
--- a/devel/stb/Makefile
+++ b/devel/stb/Makefile
@@ -1,25 +1,28 @@
 PORTNAME=	stb
-PORTVERSION=	g20211010
+DISTVERSION=	2.37-20241109 # version is in deprecated/stb.h
 CATEGORIES=	devel
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Stb single-file public domain libraries for C/C++
-WWW=		https://github.com/nothings/stb
+WWW=		https://github.com/nothings/stb/
 
-LICENSE=	PD
+LICENSE=	MIT PD
+LICENSE_COMB=	dual
+LICENSE_FILE_MIT=	${WRKSRC}/LICENSE
+LICENSE_FILE_PD=	${WRKSRC}/LICENSE
 
 USES=		cpe
 CPE_VENDOR=	${PORTNAME}_project
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	nothings
-GH_TAGNAME=	af1a5bc
+GH_TAGNAME=	5c20573
 
 NO_BUILD=	yes
 NO_ARCH=	yes
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
+	${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
 	cd ${WRKSRC} && ${INSTALL_DATA} *.c *.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}
 
 .include <bsd.port.mk>
diff --git a/devel/stb/distinfo b/devel/stb/distinfo
index 47a4a27a5910..68caa7ee36ee 100644
--- a/devel/stb/distinfo
+++ b/devel/stb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1646928770
-SHA256 (nothings-stb-g20211010-af1a5bc_GH0.tar.gz) = 3facf6e6f8c3e1715e1a088f22bad9c9202973f9369fb3f088f46cced3f64058
-SIZE (nothings-stb-g20211010-af1a5bc_GH0.tar.gz) = 1387334
+TIMESTAMP = 1731980728
+SHA256 (nothings-stb-2.37-20241109-5c20573_GH0.tar.gz) = f8e9c407738ab0144543659822b417f337cc4f3de3fa8a4d5db59f7061b3d515
+SIZE (nothings-stb-2.37-20241109-5c20573_GH0.tar.gz) = 1512387
diff --git a/devel/stb/pkg-plist b/devel/stb/pkg-plist
index 555d6f9ca450..219a1ae51222 100644
--- a/devel/stb/pkg-plist
+++ b/devel/stb/pkg-plist
@@ -7,10 +7,11 @@ include/stb/stb_easy_font.h
 include/stb/stb_herringbone_wang_tile.h
 include/stb/stb_hexwave.h
 include/stb/stb_image.h
-include/stb/stb_image_resize.h
+include/stb/stb_image_resize2.h
 include/stb/stb_image_write.h
 include/stb/stb_include.h
 include/stb/stb_leakcheck.h
+include/stb/stb_perlin.h
 include/stb/stb_rect_pack.h
 include/stb/stb_sprintf.h
 include/stb/stb_textedit.h