summaryrefslogtreecommitdiff
path: root/deskutils/copyq/Makefile
blob: 8a20abc21b5df8b817567c06acccc6e97887f5fc (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
# $FreeBSD$

PORTNAME=	copyq
DISTVERSIONPREFIX=	v
DISTVERSION=	3.9.0
PORTREVISION=	1
CATEGORIES=	deskutils

MAINTAINER=	tobik@FreeBSD.org
COMMENT=	Qt5 based clipboard manager

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cmake compiler:c++11-lang qt:5
USE_GITHUB=	yes
GH_ACCOUNT=	hluk
GH_PROJECT=	CopyQ
USE_LDCONFIG=	yes
USE_QT=		core gui network script svg widgets x11extras imageformats_run \
		buildtools_build linguisttools_build qmake_build
USE_XORG=	x11 xtst

LDFLAGS+=	-Wl,--as-needed

OPTIONS_DEFINE=		PLUGINS WEBKIT
OPTIONS_DEFAULT=	PLUGINS WEBKIT
OPTIONS_SUB=		yes

PLUGINS_CMAKE_BOOL=	WITH_PLUGINS

WEBKIT_IMPLIES=		PLUGINS
WEBKIT_USE=		qt=webkit
WEBKIT_CMAKE_BOOL=	WITH_WEBKIT

.include <bsd.port.mk>