# New ports collection makefile for:	bibletime-devel
# Date created:		2008-08-12
# Whom:			Thomas Abthorpe <tabthorpe@FreeBSD.org>
#
# $FreeBSD: ports/misc/bibletime-kde4/Makefile,v 1.56 2009/08/27 15:31:41 tabthorpe Exp $
#

PORTNAME=	bibletime
PORTVERSION=	2.2
CATEGORIES=	misc kde
MASTER_SITES=	SF/${PORTNAME}/BibleTime%202/BibleTime%202%20source%20code
PKGNAMESUFFIX=	-kde4

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

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

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

CMAKE_SOURCE_PATH=	${WRKSRC}/..

CONFLICTS=	bibletime-devel-2*

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>
