git: a76dbf46cab0 - main - net/iipsrv: update to 1.2

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Fri, 22 Sep 2023 05:07:52 UTC
The branch main has been updated by fuz:

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

commit a76dbf46cab0d681751df0b859d3e91d8822594d
Author:     Mikle Davidkin <me@skylord.ru>
AuthorDate: 2023-09-19 05:11:05 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-09-22 04:54:45 +0000

    net/iipsrv: update to 1.2
    
    Changelog: https://iipimage.sourceforge.io/2023/09/iipsrv-1-2-released
    
    PR:             273917
---
 net/iipsrv/Makefile | 13 +++++++++----
 net/iipsrv/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/net/iipsrv/Makefile b/net/iipsrv/Makefile
index 3c09af31310e..74b29218346c 100644
--- a/net/iipsrv/Makefile
+++ b/net/iipsrv/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	iipsrv
-PORTVERSION=	1.1
-PORTREVISION=	1
+DISTVERSION=	1.2
 DISTVERSIONPREFIX=	${PORTNAME}-
 CATEGORIES=	net
 
@@ -13,7 +12,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libtiff.so:graphics/tiff
 
-USES=		autoreconf jpeg libtool pkgconfig
+USES=		autoreconf jpeg libtool pkgconfig localbase
 USE_GITHUB=	yes
 GH_ACCOUNT=	ruven
 USE_RC_SUBR=	${PORTNAME}
@@ -23,11 +22,17 @@ GNU_CONFIGURE=	yes
 PLIST_FILES=	bin/iipsrv.fcgi \
 		man/man8/iipsrv.8.gz
 
-OPTIONS_DEFINE=	JPEG2000
+OPTIONS_DEFINE=	JPEG2000 PNG WEBP
 
 JPEG2000_LIB_DEPENDS=		libopenjp2.so:graphics/openjpeg
 JPEG2000_CONFIGURE_ENABLE=	openjpeg
 
+PNG_LIB_DEPENDS=		libpng.so:graphics/png
+PNG_CONFIGURE_ENABLE=	png
+
+WEBP_LIB_DEPENDS=		libwebp.so:graphics/webp
+WEBP_CONFIGURE_ENABLE=	webp
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|noinst_PROGRAMS|bin_PROGRAMS|g' \
 		${WRKSRC}/src/Makefile.am
diff --git a/net/iipsrv/distinfo b/net/iipsrv/distinfo
index 1e8484f3f551..a70ed68eec88 100644
--- a/net/iipsrv/distinfo
+++ b/net/iipsrv/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1561500358
-SHA256 (ruven-iipsrv-iipsrv-1.1_GH0.tar.gz) = 2a0243fba10a5e97c6f4fe058903f172fbd2f11afd5e8fb120f5aa5fa9c10aba
-SIZE (ruven-iipsrv-iipsrv-1.1_GH0.tar.gz) = 554637
+TIMESTAMP = 1694773683
+SHA256 (ruven-iipsrv-iipsrv-1.2_GH0.tar.gz) = 68dcb988e20734585718b8b17c1100ac07d4b8d5fe5732d9570b8f68a98675d4
+SIZE (ruven-iipsrv-iipsrv-1.2_GH0.tar.gz) = 584985