2008-08-05 13:21:38 +02:00
|
|
|
# New ports collection Makefile for: soprano
|
|
|
|
# Date created: 2008-01-18
|
|
|
|
# Whom: arved
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= soprano
|
2011-10-31 23:10:47 +01:00
|
|
|
PORTVERSION= 2.7.3
|
2011-03-25 11:16:44 +01:00
|
|
|
CATEGORIES= textproc
|
2009-08-22 02:37:17 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Soprano/${PORTVERSION}
|
2008-08-05 13:21:38 +02:00
|
|
|
|
2008-08-09 00:37:30 +02:00
|
|
|
MAINTAINER= kde@FreeBSD.org
|
2010-09-02 23:03:22 +02:00
|
|
|
COMMENT= Qt4 RDF framework
|
2008-08-05 13:21:38 +02:00
|
|
|
|
2011-10-17 00:55:01 +02:00
|
|
|
LIB_DEPENDS= raptor2.0:${PORTSDIR}/textproc/raptor2 \
|
2010-07-24 09:39:38 +02:00
|
|
|
rdf.0:${PORTSDIR}/textproc/redland \
|
|
|
|
iodbc.3:${PORTSDIR}/databases/libiodbc
|
2009-03-09 01:55:48 +01:00
|
|
|
|
2010-09-02 23:03:22 +02:00
|
|
|
OPTIONS= SESAME2 "Use Sesame2 as storage backend (requires Java)" off
|
2008-08-05 13:21:38 +02:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_QT_VER= 4
|
2009-01-14 00:16:38 +01:00
|
|
|
QT_COMPONENTS= corelib dbus qtestlib network \
|
|
|
|
qmake_build moc_build uic_build rcc_build
|
2008-08-05 13:21:38 +02:00
|
|
|
USE_GNOME= pkgconfig
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_CMAKE= yes
|
2011-10-17 00:55:01 +02:00
|
|
|
CMAKE_ARGS+= -DSOPRANO_DISABLE_CLUCENE_INDEX=yes
|
2008-08-05 13:21:38 +02:00
|
|
|
|
2010-05-11 14:40:01 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2009-03-09 01:55:48 +01:00
|
|
|
|
|
|
|
.if defined(WITH_SESAME2)
|
|
|
|
CATEGORIES+= java
|
|
|
|
CMAKE_ENV+= JAVA_HOME=${JAVA_HOME}
|
|
|
|
USE_JAVA= yes
|
2010-05-11 14:40:01 +02:00
|
|
|
JAVA_VERSION= 1.5+
|
2009-03-09 01:55:48 +01:00
|
|
|
JAVA_OS= native
|
|
|
|
PLIST_SUB+= SESAME2=""
|
|
|
|
.else
|
|
|
|
CMAKE_ARGS+= -DSOPRANO_DISABLE_SESAME2_BACKEND=yes
|
|
|
|
PLIST_SUB+= SESAME2="@comment "
|
|
|
|
.endif
|
|
|
|
|
2010-05-11 14:40:01 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2008-08-05 13:21:38 +02:00
|
|
|
post-patch:
|
2010-09-02 23:03:22 +02:00
|
|
|
${REINPLACE_CMD} -e "s,$${LIB_SUFFIX}/pkgconfig,data/pkgconfig," \
|
2008-08-05 13:21:38 +02:00
|
|
|
${WRKSRC}/CMakeLists.txt
|
2009-11-27 01:52:08 +01:00
|
|
|
${REINPLACE_CMD} -e "s,soprano/cmake,cmake/Modules," \
|
2009-08-04 23:14:07 +02:00
|
|
|
${WRKSRC}/cmake/modules/CMakeLists.txt
|
2008-08-05 13:21:38 +02:00
|
|
|
|
2010-05-11 14:40:01 +02:00
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2009-03-09 01:55:48 +01:00
|
|
|
.include <bsd.port.post.mk>
|