summaryrefslogtreecommitdiff
path: root/databases/kdb/Makefile
blob: bf0d38610b9a534a7d8eae44f8975fca7b08c184 (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

PORTNAME=		kdb
DISTVERSION=		3.2.0
PORTREVISION=		7
CATEGORIES=		databases kde
MASTER_SITES=		KDE/stable/${PORTNAME}/src
DIST_SUBDIR=		KDE/${PORTNAME}

MAINTAINER=		kde@FreeBSD.org
COMMENT=		Database connectivity and creation framework

LIB_DEPENDS=		libicuuc.so:devel/icu

USES=			cmake compiler:c++11-lang gettext kde:5 \
			python qt:5 tar:xz
USE_KDE=		coreaddons ecm i18n
USE_QT=			core gui network widgets xml \
			buildtools_build qmake_build

# In the future, these options will be moved into slave ports
OPTIONS_DEFINE=		SQLITE MYSQL PGSQL
OPTIONS_SUB=		YES
OPTIONS_DEFAULT=	${OPTIONS_DEFINE}

SQLITE_USES=		sqlite
SQLITE_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_Sqlite
MYSQL_USES=		mysql
MYSQL_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_MySQL
PGSQL_USES=		pgsql
PGSQL_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_PostgreSQL

.include <bsd.port.mk>