git: e85ce0128c32 - main - x11-wm/icewm: the port had been updated to version 3.3.1

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Wed, 25 Jan 2023 05:47:14 UTC
The branch main has been updated by danfe:

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

commit e85ce0128c32742d1ec14d6fb9f8489f5bd1fa02
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-01-25 05:45:24 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-01-25 05:45:24 +0000

    x11-wm/icewm: the port had been updated to version 3.3.1
    
    Now fully supports nanosvg as an alternative to librsvg!
---
 x11-wm/icewm/Makefile | 11 ++++-------
 x11-wm/icewm/distinfo |  6 +++---
 2 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/x11-wm/icewm/Makefile b/x11-wm/icewm/Makefile
index 4ea013a8834f..db9e17df9e29 100644
--- a/x11-wm/icewm/Makefile
+++ b/x11-wm/icewm/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	icewm
-PORTVERSION=	3.3.0
+PORTVERSION=	3.3.1
 CATEGORIES=	x11-wm
 MASTER_SITES=	https://github.com/ice-wm/icewm/releases/download/${PORTVERSION}/
 
@@ -32,15 +32,14 @@ BEASTIE_DESC=		Use Beastie'fied startup button
 BEASTIE_VARS=		STARTUP_PIXMAP=bsd-daemon.xpm
 BEASTIE_VARS_OFF=	STARTUP_PIXMAP=icewm-logo.xpm
 
-IMLIB2_BUILD_DEPENDS=	${LOCALBASE}/include/nanosvg.h:graphics/nanosvg
 IMLIB2_LIB_DEPENDS=	libImlib2.so:graphics/imlib2
 IMLIB2_DESC=		Use Imlib2 for rendering
-IMLIB2_CONFIGURE_ON=	--enable-nanosvg
 IMLIB2_CONFIGURE_OFF=	--disable-imlib2 --enable-gdk-pixbuf
 IMLIB2_USE_OFF=		GNOME=gdkpixbuf2xlib
 
+LIBRSVG2_BUILD_DEPENDS_OFF=	${LOCALBASE}/include/nanosvg.h:graphics/nanosvg
 LIBRSVG2_USE=		GNOME=librsvg2
-LIBRSVG2_CONFIGURE_OFF=	--disable-rsvg
+LIBRSVG2_CONFIGURE_OFF=	--disable-rsvg --enable-nanosvg
 
 NLS_USES=		gettext
 NLS_CONFIGURE_ENABLE=	nls
@@ -61,11 +60,9 @@ post-extract:
 	@${LN} -sf ${STARTUP_PIXMAP} ${WRKSRC}/lib/${dir}/start.xpm
 .endfor
 
-post-patch-IMLIB2-on:
+post-patch-LIBRSVG2-off:
 	@${LN} -sf ${LOCALBASE}/include/nanosvg.h \
 		${LOCALBASE}/include/nanosvgrast.h ${WRKSRC}/src
-	@${REINPLACE_CMD} -e '/NANOSVG_IMPLEMENTATION/{ x; \
-		s,^,#include <stdio.h>,; G; }' ${WRKSRC}/src/ysvg.cc
 
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/x11-wm/icewm/distinfo b/x11-wm/icewm/distinfo
index 6497a5eb0615..67f701b39b29 100644
--- a/x11-wm/icewm/distinfo
+++ b/x11-wm/icewm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1671564310
-SHA256 (icewm-3.3.0.tar.lz) = f8dea2bc4f8648ee11fbcb3b7efe9162eebe0f9e33eb561f928eef9c72d97393
-SIZE (icewm-3.3.0.tar.lz) = 1794714
+TIMESTAMP = 1674556168
+SHA256 (icewm-3.3.1.tar.lz) = 936ac3e692877884355c6886e153549520388e3b78d4cb840e8bcf285aa212d4
+SIZE (icewm-3.3.1.tar.lz) = 1875279