94748d421d
While here, add staging support. Contains commits by Schaich Alonso from our (KDE@'s) area51 repository. Many thanks!
30 lines
805 B
Makefile
30 lines
805 B
Makefile
# Created by: arved
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= soprano
|
|
PORTVERSION= 2.9.4
|
|
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 network qtestlib_build xml \
|
|
qmake_build moc_build uic_build rcc_build
|
|
USE_BZIP2= yes
|
|
USES= cmake pkgconfig
|
|
CMAKE_ARGS+= -DSOPRANO_DISABLE_CLUCENE_INDEX=yes \
|
|
-DSOPRANO_DISABLE_SESAME2_BACKEND=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
|
|
|
|
.include <bsd.port.mk>
|