openbsd-ports/databases/soprano/Makefile
2012-11-12 13:37:52 +00:00

50 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2012/11/12 13:37:52 sthen Exp $
SHARED_ONLY = Yes
COMMENT = RDF framework
CATEGORIES = databases devel textproc sysutils
SHARED_LIBS = soprano 1.0 # 1.0
SHARED_LIBS += sopranoclient 1.0 # 1.0
SHARED_LIBS += sopranoindex 1.0 # 1.0
SHARED_LIBS += sopranoserver 1.0 # 1.0
HOMEPAGE = http://soprano.sourceforge.net/
DISTNAME = soprano-2.8.0
EXTRACT_SUFX = .tar.bz2
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=soprano/}
# GPL/LGPL
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c m stdc++
WANTLIB += lib/qt4/QtCore lib/qt4/QtDBus lib/qt4/QtNetwork lib/qt4/QtXml
WANTLIB += clucene-core iodbc raptor2 rdf
MODULES = devel/cmake x11/qt4
CONFIGURE_STYLE = cmake
SEPARATE_BUILD = Yes
LIB_DEPENDS += textproc/clucene \
databases/iodbc,-main \
textproc/raptor \
textproc/redland
RUN_DEPENDS = devel/desktop-file-utils
# No Java, thanks
CONFIGURE_ARGS = -DSOPRANO_DISABLE_SESAME2_BACKEND:Bool=Yes \
-DSOPRANO_BUILD_TESTS:Bool=Yes
REGRESS_DEPENDS = x11/dbus
REGRESS_IS_INTERACTIVE = X11
post-extract:
cd ${WRKDIST}/cmake/modules && \
rm FindQt4.cmake MacroPushRequiredVars.cmake
.include <bsd.port.mk>