aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/soprano/Makefile
blob: ceb9b9158e8fb3b3a2121b2e7568e0e7802b438e (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
# Created by: arved
# $FreeBSD$

PORTNAME=   soprano
PORTVERSION=    2.9.0
CATEGORIES= textproc
MASTER_SITES=   SF/${PORTNAME}/Soprano/${PORTVERSION}

MAINTAINER= kde@FreeBSD.org
COMMENT=    Qt/C++ RDF framework

LIB_DEPENDS=    raptor2:${PORTSDIR}/textproc/raptor2 \
        rdf:${PORTSDIR}/textproc/redland \
        iodbc:${PORTSDIR}/databases/libiodbc

USE_QT4=    corelib dbus qtestlib network \
        qmake_build moc_build uic_build rcc_build
USE_PKGCONFIG=  both
USE_BZIP2=  yes
USE_CMAKE=  yes
CMAKE_ARGS+=    -DSOPRANO_DISABLE_CLUCENE_INDEX=yes \
        -DSOPRANO_DISABLE_SESAME2_BACKEND=yes
MAKE_JOBS_SAFE= yes
USE_LDCONFIG=   yes

post-patch:
    @${REINPLACE_CMD} -e 's,$${LIB_SUFFIX}/pkgconfig,data/pkgconfig,' \
        ${WRKSRC}/CMakeLists.txt
    @${REINPLACE_CMD} -e 's,soprano/cmake,cmake/Modules,' \
        ${WRKSRC}/cmake/modules/CMakeLists.txt

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>