git: f669e759b9b5 - main - www/yaws: update to 2.2.0

From: Dave Cottlehuber <dch_at_FreeBSD.org>
Date: Fri, 04 Oct 2024 07:34:24 UTC
The branch main has been updated by dch:

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

commit f669e759b9b5f28b44e1971bf5eb0f944b7c0446
Author:     Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2024-10-04 07:28:18 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2024-10-04 07:34:10 +0000

    www/yaws: update to 2.2.0
    
    - pet via portclippy & portfmt while here
    
    Sponsored by:   SkunkWerks, GmbH
---
 www/yaws/Makefile  | 41 +++++++++++++++++++++--------------------
 www/yaws/distinfo  |  6 +++---
 www/yaws/pkg-plist |  1 -
 3 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/www/yaws/Makefile b/www/yaws/Makefile
index b08f005944b5..f7b1d8d6613d 100644
--- a/www/yaws/Makefile
+++ b/www/yaws/Makefile
@@ -1,45 +1,45 @@
 PORTNAME=	yaws
-PORTVERSION=	2.1.0
-PORTREVISION=	1
+PORTVERSION=	2.2.0
 CATEGORIES=	www devel
-MASTER_SITES=	LOCAL/dch
-
-USE_GITHUB=	nodefault
-GH_ACCOUNT=	erlyaws
-GH_PROJECT=	yaws
+MASTER_SITES=	https://codeload.github.com/erlyaws/yaws/tar.gz/refs/tags/${DISTNAME}?dummy=/
 
 MAINTAINER=	erlang@FreeBSD.org
 COMMENT=	Web server for dynamic content written in Erlang
-WWW=		http://yaws.hyber.org/
+WWW=		https://erlyaws.github.io/
 
 LICENSE=	BSD3CLAUSE
 
 BUILD_DEPENDS=	erl:lang/erlang
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-OPTIONS_SUB=	yes
-PLIST_SUB=	VERSION="${PORTVERSION}"
-
 USES=		autoreconf cpe gmake libtool pathfix shebangfix
 
+USE_GITHUB=	nodefault
+GH_ACCOUNT=	erlyaws
+GH_PROJECT=	yaws
+
 SHEBANG_FILES=	www/cgi-bin/foo.py
 
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--localstatedir=/var
+CONFIGURE_ENV=	wwwdir=${WWWDIR} \
+		yawsdir=${_APPDIR}
+
+INSTALL_TARGET=	install-strip
+PLIST_SUB=	VERSION="${PORTVERSION}"
+
 OPTIONS_DEFINE=	WWW
+OPTIONS_SUB=	yes
 
 WWW_DESC=	Install sample applications
 
-APPDIR=		${PREFIX}/lib/erlang/lib/yaws-${PORTVERSION}
-
-GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-CONFIGURE_ARGS=	--localstatedir=/var
-CONFIGURE_ENV=	wwwdir=${WWWDIR} yawsdir=${APPDIR}
-INSTALL_TARGET=	install-strip
+_APPDIR=	${PREFIX}/lib/erlang/lib/yaws-${PORTVERSION}
 
 .include <bsd.port.options.mk>
 
 post-extract:
-	@${MV} ${WRKDIR}/yaws-yaws-* ${WRKDIR}/yaws-${PORTVERSION}
+	@${MV} ${WRKDIR}/yaws-yaws-* \
+		${WRKDIR}/yaws-${PORTVERSION}
 	@${FIND} ${WRKSRC} -name .empty -delete
 
 post-patch:
@@ -50,7 +50,8 @@ post-patch:
 
 post-install:
 .if ${PORT_OPTIONS:MWWW}
-	${MV} ${STAGEDIR}${PREFIX}/www/www/* ${STAGEDIR}${WWWDIR}
+	${MV} ${STAGEDIR}${PREFIX}/www/www/* \
+		${STAGEDIR}${WWWDIR}
 	${RMDIR} ${STAGEDIR}${PREFIX}/www/www
 .else
 	${RM} -r ${STAGEDIR}${PREFIX}/www
diff --git a/www/yaws/distinfo b/www/yaws/distinfo
index f78074d6916f..917c6dba4b98 100644
--- a/www/yaws/distinfo
+++ b/www/yaws/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1641596898
-SHA256 (yaws-2.1.0.tar.gz) = 84260bd95bff5fb4410df5db23b3b3e486476445d13a3c6b819fcbc31f66e0cd
-SIZE (yaws-2.1.0.tar.gz) = 1227153
+TIMESTAMP = 1728025779
+SHA256 (yaws-2.2.0.tar.gz) = 39318736472c165d4aec769c89ac4edfe3cab7ff7759f32de0a4e699ef6c88e8
+SIZE (yaws-2.2.0.tar.gz) = 1233847
diff --git a/www/yaws/pkg-plist b/www/yaws/pkg-plist
index 258cc17f6ed3..c695ae2883be 100644
--- a/www/yaws/pkg-plist
+++ b/www/yaws/pkg-plist
@@ -29,7 +29,6 @@ lib/erlang/lib/yaws-%%VERSION%%/ebin/yaws_generated.beam
 lib/erlang/lib/yaws-%%VERSION%%/ebin/yaws_html.beam
 lib/erlang/lib/yaws-%%VERSION%%/ebin/yaws_jsonrpc.beam
 lib/erlang/lib/yaws-%%VERSION%%/ebin/yaws_log.beam
-lib/erlang/lib/yaws-%%VERSION%%/ebin/yaws_log_file_h.beam
 lib/erlang/lib/yaws-%%VERSION%%/ebin/yaws_logger.beam
 lib/erlang/lib/yaws-%%VERSION%%/ebin/yaws_ls.beam
 lib/erlang/lib/yaws-%%VERSION%%/ebin/yaws_multipart.beam