git: 568a1800851b - main - www/wt: Add updated Makefile

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Wed, 15 Dec 2021 17:25:52 UTC
The branch main has been updated by nc:

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

commit 568a1800851b36c500b716ef0f8bfd291b25d311
Author:     Mohammad S. Babaei <info@babaei.net>
AuthorDate: 2021-12-15 17:25:34 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2021-12-15 17:25:34 +0000

    www/wt: Add updated Makefile
    
    PR:     260426
---
 www/wt/Makefile | 27 ++++++++++++++++++++-------
 1 file changed, 20 insertions(+), 7 deletions(-)

diff --git a/www/wt/Makefile b/www/wt/Makefile
index c8b5e5a76fec..58fa3e0fd021 100644
--- a/www/wt/Makefile
+++ b/www/wt/Makefile
@@ -1,7 +1,7 @@
 # Created by: Mohammad S. Babaei <info@babaei.net>
 
 PORTNAME=	wt
-DISTVERSION=	4.5.1
+DISTVERSION=	4.6.0
 CATEGORIES=	www
 
 MAINTAINER=	info@babaei.net
@@ -14,7 +14,7 @@ LIB_DEPENDS=	libpng.so:graphics/png \
 		libboost_system.so:devel/boost-libs \
 		libGraphicsMagick.so:graphics/GraphicsMagick
 
-USES=		cmake compiler:c++14-lang pkgconfig ssl xorg
+USES=		cmake compiler:c++14-lang cpe pkgconfig ssl
 USE_GITHUB=	yes
 GH_ACCOUNT=	emweb
 USE_XORG=	x11
@@ -40,6 +40,7 @@ OPTIONS_DEFINE=	\
 	PANGO \
 	QT5 \
 	OPENGL \
+	SAML \
 	LIBWTTEST \
 	UNWIND
 OPTIONS_DEFAULT=	\
@@ -57,6 +58,7 @@ EXAMPLES_DESC=		Install examples (implies SQLITE3 and WTHTTP)
 TESTS_DESC=		Build Wt tests
 RESOURCES_DESC=		Install resources directory
 HARU_DESC=		Enable Haru Free PDF Library
+SAML_DESC=		Build built-in SAML service provider for Wt::Auth
 LIBWTTEST_DESC=		Build Wt::Test for automated (integration/unit) tests
 UNWIND_DESC=		Build Wt with stacktrace support using libunwind
 
@@ -66,11 +68,12 @@ CONNECTOR_DESC=		Connector
 FCGI_DESC=		Build FastCGI connector
 WTHTTP_DESC=		Build Wt stand-alone httpd connector
 
-OPTIONS_GROUP_DBO=	SQLITE3 POSTGRES MYSQL
+OPTIONS_GROUP_DBO=	SQLITE3 POSTGRES FIREBIRD MYSQL
 OPTIONS_DEFAULT+=	SQLITE3
 DBO_DESC=		Wt::DBO
 SQLITE3_DESC=		Build Wt with SQLite 3 support
 POSTGRES_DESC=		Build Wt with PostgreSQL support
+FIREBIRD_DESC=		Build Wt with FirebirdSQL support
 MYSQL_DESC=		Build Wt with MariaDB or MySQL support
 
 EXAMPLES_IMPLIES=	SQLITE3 WTHTTP
@@ -81,6 +84,9 @@ FCGI_LIB_DEPENDS=	libfcgi.so:www/fcgi \
 			libfcgi++.so:www/fcgi
 FCGI_CMAKE_ON=		-DFCGI_PREFIX:STRING=${LOCALBASE}
 
+FIREBIRD_CMAKE_BOOL=	ENABLE_FIREBIRD
+FIREBIRD_USES=		firebird
+
 HARU_CMAKE_BOOL=	ENABLE_HARU
 HARU_LIB_DEPENDS=	libhpdf.so:print/libharu
 HARU_CMAKE_ON=	-DHARU_PREFIX:STRING=${LOCALBASE}
@@ -93,12 +99,12 @@ MYSQL_CMAKE_ON=		-DMYSQL_PREFIX:STRING=${LOCALBASE} \
 			-DENABLE_LIBWTDBO:BOOL=ON
 
 OPENGL_CMAKE_BOOL=	ENABLE_OPENGL
-OPENGL_USE=		GL=gl,glew
-OPENGL_USES=		gl
+OPENGL_USES=            gl xorg
+OPENGL_USE=             GL=gl,glew xorg=x11
 
 PANGO_CMAKE_BOOL=	ENABLE_PANGO
-PANGO_USE=		GNOME=pango
 PANGO_USES=		gnome
+PANGO_USE=              GNOME=pango
 PANGO_LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig
 
 POSTGRES_CMAKE_BOOL=	ENABLE_POSTGRES
@@ -107,11 +113,18 @@ POSTGRES_CMAKE_ON=	-DPOSTGRES_PREFIX:STRING=${LOCALBASE} \
 			-DENABLE_LIBWTDBO:BOOL=ON
 
 QT5_CMAKE_BOOL=		ENABLE_QT5
-QT5_USE=		qt=buildtools_build,core
 QT5_USES=		qt:5
+QT5_USE=                qt=buildtools_build,core
 
 RESOURCES_CMAKE_BOOL=	INSTALL_RESOURCES
 
+SAML_CMAKE_BOOL=	ENABLE_SAML
+SAML_LIB_DEPENDS=	libsaml.so:security/opensaml \
+			liblog4shib.so:devel/log4shib \
+			libxerces-c-3.2.so:textproc/xerces-c3 \
+			libxml-security-c.so:security/apache-xml-security-c \
+			libxmltooling.so:devel/xmltooling
+
 SQLITE3_CMAKE_BOOL=	ENABLE_SQLITE
 SQLITE3_USES=		sqlite:3
 SQLITE3_CMAKE_ON=	-DENABLE_LIBWTDBO:BOOL=ON