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

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

MAINTAINER= tabthorpe@FreeBSD.org
COMMENT=    A 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_OPENSSL=    yes
KDE4_BUILDENV=  yes
USE_KDE4=   kdeprefix kdelibs 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

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.mk>