freebsd-ports/misc/bibletime-devel/Makefile
2009-06-23 17:07:33 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: bibletime-devel
# Date created: 2009-03-23
# Whom: Thomas Abthorpe <tabthorpe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= bibletime
DISTVERSION= 2.1-20090623
CATEGORIES= misc kde
MASTER_SITES= LOCAL
MASTER_SITE_SUBDIR= tabthorpe
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/.rc/}
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 \
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-kde4-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>