aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bibletime-kde4/Makefile
blob: c4fcd2236efd1b4382c081b89c93bf485097b4bc (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
45
46
47
# New ports collection makefile for:    bibletime-devel
# Date created:     2008-08-12
# Whom:         Thomas Abthorpe <tabthorpe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   bibletime
PORTVERSION=    2.0
PORTREVISION=   1
CATEGORIES= misc kde
MASTER_SITES=   SF
PKGNAMESUFFIX=  -kde4

MAINTAINER= tabthorpe@FreeBSD.org
COMMENT=    An opensource Bible study application

RUN_DEPENDS=    ${LOCALBASE}/lib/libsword-1.5.11.so:${PORTSDIR}/misc/sword15
BUILD_DEPENDS=  ${RUN_DEPENDS}
LIB_DEPENDS=    boost_python:${PORTSDIR}/devel/boost-python \
        clucene.0:${PORTSDIR}/textproc/clucene

USE_OPENSSL=    yes
KDE4_BUILDENV=  yes
USE_KDE4=   kdeprefix runtime workspace automoc4
USE_CMAKE=  yes
USE_QT_VER= 4
QT_COMPONENTS=  corelib dbus gui xml webkit qmake_build moc_build uic_build rcc_build

CONFLICTS=  bibletime-devel-2*

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 700042
BROKEN= does on build on 6.x, use misc/bibletime-kde3
.endif

post-extract:
    ${MKDIR} ${WRKSRC}/build

do-configure:
    @cd ${WRKSRC}; ${SETENV} ${CMAKE_ENV} ${CMAKE_BIN} \
        -D CMAKE_BUILD_TYPE=Release \
        -D CMAKE_INSTALL_PREFIX=${PREFIX} \
        ${WRKSRC}/..

.include <bsd.port.post.mk>