PORTNAME=	webview
DISTVERSION=	${QT5_VERSION}
PORTREVISION=	3
CATEGORIES=	www
PKGNAMEPREFIX=	qt5-

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Qt component for displaying web content

USES=		compiler:c++11-lang gl qmake:norecursive qt-dist:5
USE_GL=		gl
USE_QT=		core declarative gui location network webchannel \
		buildtools_build

.include <bsd.port.pre.mk>

.if ${ARCH} == amd64 || ${ARCH} == i386
DEPRECATED=	Uses EOL Python 2.7 via www/qt5-webengine
PLIST_SUB+=	WEBENGINE=""
USE_QT+=	webengine
.else
PLIST_SUB+=	WEBENGINE="@comment "
.endif

.include <bsd.port.post.mk>
