1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/databases/libzdb/Makefile
Baptiste Daroussin 1b416098d2 Reduce bsd.port.mk inclusions by using options helpers
replace USE_GMAKE -> USES=gmake
2014-01-15 23:38:22 +00:00

41 lines
903 B
Makefile

# Created by: vanilla@
# $FreeBSD$
PORTNAME= libzdb
PORTVERSION= 2.11.3
CATEGORIES= databases
MASTER_SITES= http://www.tildeslash.com/libzdb/dist/ \
http://www.c-s.li/ports/
MAINTAINER= cs@FreeBSD.org
COMMENT= Thread-safe connection pool library
LICENSE= GPLv3
OPTIONS_DEFINE= MYSQL \
SQLITE \
PGSQL
OPTIONS_DEFAULT=MYSQL SQLITE PGSQL
NO_STAGE= yes
USES= gmake pathfix
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
MYSQL_USE= mysql=yes
MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE}/bin/mysql_config
MYSQL_CONFIGURE_OFF= --without-mysql
SQLITE_USE= sqlite=3
SQLITE_CONFIGURE_ON= --with-sqlite=${LOCALBASE}
SQLITE_CONFIGURE_OFF= --without-sqlite
PGSQL_USE= pgsql=yes
PGSQL_CONFIGURE_ON= --with-postgresql=${LOCALBASE}/bin/pg_config
PGSQL_CONFIGURE_OFF= --without-postgresql
.include <bsd.port.mk>