summaryrefslogtreecommitdiff
path: root/www/otter-browser/Makefile
blob: 5817478728462780d3065a57b97d4aec0ae359f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $FreeBSD$

PORTNAME=	otter-browser
DISTVERSIONPREFIX=	v
DISTVERSION=	0.9.99.3
PORTREVISION=	2
CATEGORIES=	www

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Browser based on Qt 5

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libhunspell-1.6.so:textproc/hunspell

USES=		cmake compiler:c++11-lib desktop-file-utils qt:5
USE_QT=		concurrent core dbus declarative gui multimedia network printsupport \
		script sql sql-sqlite3 svg widgets xmlpatterns \
		buildtools_build qmake_build

USE_GITHUB=	yes
GH_ACCOUNT=	OtterBrowser

OPTIONS_MULTI=		BACKEND
OPTIONS_MULTI_BACKEND=	QTWEBENGINE QTWEBKIT
OPTIONS_DEFAULT=	QTWEBENGINE QTWEBKIT

QTWEBENGINE_DESC=	Build QtWebEngine backend
QTWEBKIT_DESC=		Build QtWebKit backend

QTWEBENGINE_USE=	qt=declarative,location,webchannel,webengine
QTWEBENGINE_CMAKE_BOOL=	ENABLE_QTWEBENGINE

QTWEBKIT_USE=		qt=webkit
QTWEBKIT_CMAKE_BOOL=	ENABLE_QTWEBKIT

.include <bsd.port.mk>