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

PORTNAME=   bibletime
PORTVERSION=    1.7.a4
CATEGORIES= misc kde
MASTER_SITES=   SF
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.a/.alpha/}

MAINTAINER= tabthorpe@FreeBSD.org
COMMENT=    A powerful Bible study application for KDE4

RUN_DEPENDS=    ${LOCALBASE}/lib/libsword-1.5.11.so:${PORTSDIR}/misc/sword \
        ${LOCALBASE}/lib/libclucene.so:${PORTSDIR}/textproc/clucene
BUILD_DEPENDS=  ${RUN_DEPENDS}
LIB_DEPENDS=    boost_python:${PORTSDIR}/devel/boost-python \
        phonon.4:${PORTSDIR}/multimedia/phonon

USE_BZIP2=  yes
USE_OPENSSL=    yes
KDE4_BUILDENV=  yes
USE_KDE4=   kdeprefix kdelibs workspace automoc4
USE_CMAKE=  yes
USE_QT_VER= 4
QT_COMPONENTS=  corelib dbus gui xml

post-extract:
    ${MV} ${WRKDIR}/${DISTNAME} ${WRKDIR}/${PORTNAME}-${PORTVERSION}
    ${MKDIR} ${WRKSRC}

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

.include <bsd.port.mk>