483990fcf2
- Update raptor2 to 2.0.4. - Update rasqal to 0.9.27. - Update redland to 1.0.14. - Update redland-bindings to 1.0.13.1. - Update shared-desktop-ontologies to 0.8.0. [1] - Update soprano to 2.7.0 and disable clucene indexer. - Update strigi to 0.7.6. PR: 157022 [1] Submitted by: rakuco [1]
101 lines
2.4 KiB
Makefile
101 lines
2.4 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: redland
|
|
# Date created: Nov 22, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= redland
|
|
PORTVERSION= 1.0.14
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://download.librdf.org/source/
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= A high-level interface for RDF
|
|
|
|
LIB_DEPENDS= raptor2.0:${PORTSDIR}/textproc/raptor2 \
|
|
rasqal.3:${PORTSDIR}/textproc/rasqal
|
|
|
|
USE_BDB= yes
|
|
WITH_BDB_HIGHEST= yes
|
|
INVALID_BDB_VER=2
|
|
USE_GNOME= gnomehack lthack pkgconfig libxml2
|
|
USE_AUTOTOOLS= libltdl
|
|
USE_OPENSSL= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-raptor=system \
|
|
--with-threestore=no
|
|
|
|
USE_LDCONFIG= yes
|
|
USE_PERL5_BUILD= yes
|
|
|
|
MAN1= rdfproc.1 redland-config.1 \
|
|
redland-db-upgrade.1
|
|
MAN3= redland.3
|
|
|
|
OPTIONS+= THREADS "Enable Threads" off
|
|
# MYSQL "Use MySQL instead of BDB" off \
|
|
# PGSQL "Use PgSQL instead of BDB" off \
|
|
# SQLITE "Use SQLite instead of BDB" off \
|
|
# VIRTUOSO "Use Virtoso instead of BDB" off
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if defined(WITHOUT_THREADS)
|
|
CONFIGURE_ARGS+= --disable-threads
|
|
.else
|
|
CONFIGURE_ARGS+= --enable-threads
|
|
.endif
|
|
|
|
#.if defined(WITH_MYSQL)
|
|
#USE_MYSQL= yes
|
|
#CONFIGURE_ARGS+=--with-mysql=yes
|
|
#CONFIGURE_ENV+= LIBS="${LIBS}"
|
|
#CFLAGS+= -I${LOCALBASE}/include/mysql -DHAVE_MYSQL_H
|
|
#LDFLAGS+= -L${LOCALBASE}/lib/mysql
|
|
#PLIST_SUB+= MYSQL=""
|
|
#.else
|
|
CONFIGURE_ARGS+=--with-mysql=no
|
|
PLIST_SUB+= MYSQL="@comment "
|
|
#.endif
|
|
|
|
#.if defined(WITH_PGSQL)
|
|
#USE_PGSQL= yes
|
|
#CONFIGURE_ARGS+=--with-postgresql=yes
|
|
#PLIST_SUB+= PGSQL=""
|
|
#.else
|
|
CONFIGURE_ARGS+=--with-postgresql=no
|
|
PLIST_SUB+= PGSQL="@comment "
|
|
#.endif
|
|
|
|
#.if defined(WITH_SQLITE)
|
|
#USE_SQLITE= 3
|
|
#CONFIGURE_ARGS+=--with-sqlite=3
|
|
#PLIST_SUB+= SQLITE=""
|
|
#.else
|
|
CONFIGURE_ARGS+=--with-sqlite=no
|
|
PLIST_SUB+= SQLITE="@comment "
|
|
#.endif
|
|
|
|
#.if defined(WITH_VIRTUOSO)
|
|
#CONFIGURE_ARGS+=--with-virtuoso=yes
|
|
#LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc
|
|
#PLIST_SUB+= VIRTUOSO=""
|
|
#.else
|
|
CONFIGURE_ARGS+=--with-virtuoso=no
|
|
PLIST_SUB+= VIRTUOSO="@comment "
|
|
#.endif
|
|
|
|
pre-everything::
|
|
@${ECHO_CMD} "You can choose BDB version by setting WITH_BDB_VER to one off:"
|
|
@${ECHO_CMD} "3 40 41 42 43 44 3+ 40+ 41+ 42+ 43+ 44+ (current: ${BDB_VER})"
|
|
. if defined(WITH_MYSQL)
|
|
@${ECHO_CMD} "MySQL version to be used: ${MYSQL_VER}"
|
|
@${ECHO_CMD} "If you don't have MySQL installed you can stop the build now"
|
|
@${ECHO_CMD} "and set WITH_MYSQL_VER to the desired version"
|
|
. endif
|
|
|
|
.include <bsd.port.mk>
|