bb9ab5d7d6
- merged from updates by Vadim Zhukov in openbsd-wip and dlg@
73 lines
1.7 KiB
Makefile
Executable File
73 lines
1.7 KiB
Makefile
Executable File
# $OpenBSD: Makefile,v 1.6 2012/11/12 13:34:03 sthen Exp $
|
|
|
|
MULTI_PACKAGES= -main -mysql -pgsql
|
|
|
|
COMMENT-main= high-level interface for RDF
|
|
COMMENT-mysql= MySQL driver for redland
|
|
COMMENT-pgsql= PostgreSQL driver for redland
|
|
|
|
V= 1.0.15
|
|
DISTNAME= redland-$V
|
|
PKGNAME-main= redland-$V
|
|
PKGNAME-mysql= redland-mysql-$V
|
|
PKGNAME-pgsql= redland-pgsql-$V
|
|
CATEGORIES= textproc
|
|
|
|
SHARED_LIBS += rdf 1.0 # 0.0
|
|
|
|
HOMEPAGE= http://librdf.org/
|
|
|
|
MASTER_SITES= http://download.librdf.org/source/
|
|
|
|
# LGPL 2.1+, GPL 2+ or Apache 2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += crypto curl gcrypt gmp gpg-error idn ltdl m mpfr
|
|
WANTLIB += pthread raptor2 rasqal ssl xml2 xslt yajl z
|
|
|
|
MODULES= devel/gettext
|
|
|
|
LIB_DEPENDS= devel/libtool,-ltdl \
|
|
textproc/raptor \
|
|
textproc/rasqal
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_ARGS= --with-raptor=system \
|
|
--with-rasqal=system \
|
|
--with-datadirect=no \
|
|
--with-unixodbc=no \
|
|
--with-threestore=no \
|
|
--with-virtuoso=yes \
|
|
--with-iodbc=no \
|
|
--with-mysql=yes \
|
|
--with-postgresql=yes \
|
|
--with-sqlite=3 \
|
|
--with-bdb=no \
|
|
--with-threads=yes \
|
|
--with-ltdl-include=${LOCALBASE}/include \
|
|
--with-ltdl-lib=${LOCALBASE}/lib \
|
|
--disable-gtk-doc
|
|
|
|
LIB_DEPENDS-main= textproc/raptor \
|
|
textproc/rasqal \
|
|
devel/libtool,-ltdl
|
|
WANTLIB-main= ${WANTLIB} c sqlite3
|
|
|
|
LIB_DEPENDS-mysql= ${BASE_PKGPATH},-main \
|
|
databases/mysql
|
|
WANTLIB-mysql= ${WANTLIB} crypto mysqlclient rdf
|
|
|
|
LIB_DEPENDS-pgsql= ${BASE_PKGPATH},-main \
|
|
databases/postgresql
|
|
WANTLIB-pgsql= ${WANTLIB} com_err pq rdf
|
|
|
|
post-install:
|
|
rm ${PREFIX}/lib/redland/librdf_storage_*.{la,a}
|
|
|
|
.include <bsd.port.mk>
|