git: 1fb7480952fd - main - www/faup: Fix building with CMake 4 and deprecate

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Fri, 04 Sep 2026 10:04:48 UTC
The branch main has been updated by arrowd:

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

commit 1fb7480952fde21c4c20e6515638d1d526aa1ed2
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-04 10:03:10 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-04 10:03:48 +0000

    www/faup: Fix building with CMake 4 and deprecate
    
    PR:             298163
    Approved by:    antoine (maintainer)
---
 www/faup/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/www/faup/Makefile b/www/faup/Makefile
index 3ee4136b334f..605af477603a 100644
--- a/www/faup/Makefile
+++ b/www/faup/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	faup
 DISTVERSION=	1.5-48
-PORTREVISION=	1
+PORTREVISION=	2
 DISTVERSIONPREFIX=	v
 DISTVERSIONSUFFIX=	-g88dbbe2
 CATEGORIES=	www devel
@@ -13,12 +13,17 @@ WWW=		https://stricaud.github.io/faup/
 LICENSE=	WTFPL
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	No users in Ports
+EXPIRATION_DATE=2026-12-30
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	stricaud
 
 USES=		cmake compiler:c++11-lang lua
 USE_LDCONFIG=	yes
 
+CMAKE_ARGS=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
 PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS