aboutsummaryrefslogblamecommitdiff
path: root/www/cutelyst/Makefile
blob: 48036f75b7f9cf2a71c7f7be3acc6d63239d16c2 (plain) (tree)
1
2
3
4
5
6
7
8
9

                         
                     



                                    
                                    
 
                          

                                 

                                                    
                                                        

                   
                                                                  
                                
 












                                                     
                                         

                                                         

                                    
                      
PORTNAME=	cutelyst
DISTVERSIONPREFIX=	v
DISTVERSION=	3.7.0
CATEGORIES=	www

MAINTAINER=	adridg@FreeBSD.org
COMMENT=	C++/Qt web framework
WWW=		https://cutelyst.org

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libepoll-shim.so:devel/libepoll-shim

USES=		cmake compiler:c++11-lang localbase qt:5
USE_GITHUB=	yes
USE_LDCONFIG=	yes
USE_QT=		qmake:build buildtools:build linguisttools:build \
		core network sql

# There are more views available and various plugins,
# but we don't expose all of them in the port.
OPTIONS_DEFINE=	GRANTLEE
OPTIONS_DEFAULT=	GRANTLEE
OPTIONS_SUB=	yes

GRANTLEE_DESC=	Allow Grantlee templates
GRANTLEE_USES=	grantlee:5
GRANTLEE_CMAKE_BOOL=	PLUGIN_VIEW_GRANTLEE

CMAKE_ON=	PLUGIN_CSRFPROTECTION \
		PLUGIN_STATICCOMPRESSED
CMAKE_OFF=	BUILD_ALL BUILD_TESTS
CMAKE_ARGS=	-DMANDIR:PATH=share/man \
		-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=TRUE

PLIST_SUB=	SOVER=${DISTVERSION}

.include <bsd.port.mk>