freebsd-ports/www/qt5-webview/Makefile
Piotr Kubaj 30ada7b995 www/qt5-webview: fix build on non-x86
Drop webengine, it's not available there.
2020-09-04 15:25:01 +00:00

27 lines
553 B
Makefile

# $FreeBSD$
PORTNAME= webview
DISTVERSION= ${QT5_VERSION}
CATEGORIES= www
PKGNAMEPREFIX= qt5-
MAINTAINER= kde@FreeBSD.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
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64 || ${ARCH} == i386
PLIST_SUB+= WEBENGINE=""
USE_QT+= webengine
.else
PLIST_SUB+= WEBENGINE="@comment "
.endif
.include <bsd.port.post.mk>