aboutsummaryrefslogtreecommitdiffstats
path: root/databases/kdb/Makefile
blob: b0af0cb76047b8699bd3d97889f38873725e4d08 (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
# $FreeBSD$

PORTNAME=       kdb
PORTVERSION=        3.0.0
PORTREVISION=       1
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:outsource gettext kde:5 python:2 tar:xz
USE_KDE=        coreaddons ecm i18n
USE_QT5=        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>