aboutsummaryrefslogtreecommitdiff
path: root/misc/krecipes-kde4/Makefile
blob: d29b39be69ad37c7d1ef50563c0040a958055e91 (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
42
43
44
# $FreeBSD$

PORTNAME=	krecipes
DISTVERSION=	2.0-beta2
PORTREVISION=	2
CATEGORIES=	misc kde
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}

MAINTAINER=	jhale@FreeBSD.org
COMMENT=	Recipe database for KDE4

LICENSE=	GPLv2

LATEST_LINK=	${PORTNAME}-kde4

OPTIONS_MULTI=		DB
OPTIONS_MULTI_DB=	SQLITE MYSQL PGSQL
OPTIONS_DEFAULT=	SQLITE

USES=		cmake gettext
USE_QT4=	moc_build qmake_build rcc_build uic_build
USE_KDE4=	automoc4 kdeprefix kdelibs qimageblitz sharedmime
MAKE_JOBS_SAFE=	yes

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MSQLITE}
USE_SQLITE=	yes
USE_QT4+=	sql-sqlite3_run
.else
CMAKE_ARGS+=	-DWITH_Sqlite:BOOL=OFF
.endif

.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL=	yes
USE_QT4+=	sql-mysql_run
.endif

.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL=	yes
USE_QT4+=	sql-pgsql_run
.endif

.include <bsd.port.mk>