openbsd-ports/databases/virtuoso/Makefile
zhuk ebb3091571 Import Virtuoso. Needed by Soprano (for tests) and for KDE 4 (Nepomuk).
Virtuoso is a high-performance object-relational SQL database. As
a database, it provides transactions, a smart SQL compiler, powerful
stored-procedure language with optional Java and .Net server-side
hosting, hot backup, SQL-99 support and more. It has all major
data-access interfaces, such as ODBC, JDBC, ADO .Net and OLE/DB.

"I looked at virtuoso and it gave me too much headaches.
Import it then (and polish in-tree)" landry@
2013-04-22 17:32:31 +00:00

64 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2013/04/22 17:32:31 zhuk Exp $
COMMENT = object-relational SQL database
DISTNAME = virtuoso-opensource-6.1.6
PKGNAME = ${DISTNAME:C/-opensource//}
CATEGORIES = databases
HOMEPAGE = http://www.openlinksw.com/
# GPLv2, plus some more rights given
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = ICE MagickCore MagickWand SM X11 Xext Xt bz2 c crypto
WANTLIB += djvulibre expat fftw3 fontconfig freetype iconv
WANTLIB += jasper jbig jpeg lcms2 ltdl lzma m png pthread
WANTLIB += pthread-stubs ssl tiff wmf wmflite xcb xml2 z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=virtuoso/}
BUILD_DEPENDS = devel/bison \
devel/flex \
devel/gperf \
lang/gawk
LIB_DEPENDS = graphics/ImageMagick \
graphics/lcms2 \
textproc/libxml
CONFIGURE_STYLE = gnu autoconf
AUTOCONF_VERSION = 2.61
AUTOMAKE_VERSION = 1.9
CONFIGURE_ENV = YACC="${LOCALBASE}/bin/bison -y"
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
--disable-all-vads \
--disable-hslookup \
--disable-openldap \
--disable-php \
--disable-python \
--disable-ruby \
--disable-wbxml2 \
--without-internal-zlib \
--with-jdk2=no \
--with-jdk3=no \
--with-jdk4=no \
--with-layout=OpenBSD
# Requires threaded or "multiplicity" Perl
CONFIGURE_ARGS += --disable-perl
# Requires MIT Kerberos
CONFIGURE_ARGS += --disable-krb
TEST_IS_INTERACTIVE = Yes
post-install:
rm -R ${PREFIX}/share/virtuoso
mv ${WRKINST}/var/virtuoso ${PREFIX}/share/virtuoso
${INSTALL_DATA_DIR} ${PREFIX}/lib/virtuoso/plugins
mv ${PREFIX}/lib/virtodbc* ${PREFIX}/lib/virtuoso/plugins
.include <bsd.port.mk>