aboutsummaryrefslogtreecommitdiff
path: root/print/limereport/Makefile
blob: d18c513fe8a3a357905f55ecf388edcceac2f32b (plain) (blame)
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
39
40
41
PORTNAME=	limereport
PORTVERSION=	1.5.35
PORTREVISION=	1
CATEGORIES=	print

MAINTAINER=	svvord@soft-wizard.ru
COMMENT=	Multi-platform C++ report generator library written using Qt framework

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cmake compiler:c++11-lang dos2unix gl qt:5
USE_QT+=	buildtools_build core gui script sql xml svg quickcontrols2 \
		printsupport uitools network widgets declarative qmake_build
USE_GL=		gl

USE_GITHUB=	yes
GH_ACCOUNT=	fralx
GH_PROJECT=	LimeReport

USE_LDCONFIG=	yes

LIB_DEPENDS+=	libpng.so:graphics/png

OPTIONS_DEFINE=	DEBUG DOCS ZINT
OPTIONS_DEFAULT=	ZINT

DOCS_CMAKE_BOOL=	DOCS_INSTALL

ZINT_DESC=		Build with graphics/zint instead of bundled one
ZINT_CMAKE_ON=		SYSTEM_ZINT
ZINT_LIB_DEPENDS=	libQZint.so:graphics/zint
ZINT_EXTRA_PATCHES=	${FILESDIR}/extrapatch-barcode

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDEBUG}
CMAKE_BUILD_TYPE=	Debug
.endif

.include <bsd.port.mk>