mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
223dd2dcf0
add annotations near COMPILER for some other ports that don't have COMPILER_LIBCXX in WANTLIB not changing the actual compiler version of anything here (some could possibly remove the COMPILER line completely where they only used COMPILER due to an old WANTLIB entry which has since stopped using C++, but changing that is too likely to break things)
71 lines
1.6 KiB
Makefile
Executable File
71 lines
1.6 KiB
Makefile
Executable File
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.17
|
|
DISTNAME= redland-$V
|
|
PKGNAME-main= redland-$V
|
|
PKGNAME-mysql= redland-mysql-$V
|
|
PKGNAME-pgsql= redland-pgsql-$V
|
|
|
|
REVISION= 10
|
|
|
|
CATEGORIES= textproc
|
|
|
|
SHARED_LIBS += rdf 1.0 # 0.0
|
|
|
|
HOMEPAGE= https://librdf.org/
|
|
|
|
SITES= https://download.librdf.org/source/
|
|
|
|
# LGPL 2.1+, GPL 2+ or Apache 2+
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB += crypto curl gcrypt gmp gpg-error iconv intl ltdl lzma m mpfr
|
|
WANTLIB += nghttp2 pcre pthread raptor2 rasqal ssl uuid xml2 xslt yajl z
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
COMPILER_LANGS = c
|
|
|
|
LIB_DEPENDS= devel/libtool,-ltdl \
|
|
textproc/raptor \
|
|
textproc/rasqal
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --with-raptor=system \
|
|
--with-rasqal=system \
|
|
--with-datadirect=no \
|
|
--with-unixodbc=no \
|
|
--with-threestore=no \
|
|
--with-virtuoso=no \
|
|
--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
|
|
|
|
LIB_DEPENDS-main= databases/sqlite3 \
|
|
textproc/raptor \
|
|
textproc/rasqal \
|
|
devel/libtool,-ltdl
|
|
WANTLIB-main= ${WANTLIB} c sqlite3
|
|
|
|
LIB_DEPENDS-mysql= ${BASE_PKGPATH},-main \
|
|
databases/mariadb
|
|
WANTLIB-mysql= ${WANTLIB} crypto rdf mariadb
|
|
|
|
LIB_DEPENDS-pgsql= ${BASE_PKGPATH},-main \
|
|
databases/postgresql
|
|
WANTLIB-pgsql= ${WANTLIB} pq rdf
|
|
|
|
post-install:
|
|
rm ${PREFIX}/lib/redland/librdf_storage_*.{la,a}
|
|
|
|
.include <bsd.port.mk>
|