aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorcs <cs@FreeBSD.org>2012-06-06 05:32:53 +0800
committercs <cs@FreeBSD.org>2012-06-06 05:32:53 +0800
commit1a8f2e296a0bd0f241d72bf2bd306250d074c5c2 (patch)
tree7c91b558e7e8efda99085ad5cddaab2b1f2bd042 /databases
parent75038c8abbcadf79f859d3cffd447f486c784b50 (diff)
downloadfreebsd-ports-gnome-1a8f2e296a0bd0f241d72bf2bd306250d074c5c2.tar.gz
freebsd-ports-gnome-1a8f2e296a0bd0f241d72bf2bd306250d074c5c2.tar.zst
freebsd-ports-gnome-1a8f2e296a0bd0f241d72bf2bd306250d074c5c2.zip
- Update to 2.10.3
- Convert to OptionsNG
Diffstat (limited to 'databases')
-rw-r--r--databases/libzdb/Makefile18
-rw-r--r--databases/libzdb/distinfo4
-rw-r--r--databases/libzdb/pkg-plist1
3 files changed, 14 insertions, 9 deletions
diff --git a/databases/libzdb/Makefile b/databases/libzdb/Makefile
index 52cee729a18a..fe155384a57b 100644
--- a/databases/libzdb/Makefile
+++ b/databases/libzdb/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libzdb
-PORTVERSION= 2.10
+PORTVERSION= 2.10.3
CATEGORIES= databases
MASTER_SITES= http://www.tildeslash.com/libzdb/dist/ \
http://www.c-s.li/ports/
@@ -16,9 +16,13 @@ COMMENT= Thread-safe connection pool library
LICENSE= GPLv3
-OPTIONS= MYSQL "Add MySQL support" on \
- SQLITE "Add Sqlite support" on \
- PGSQL "Add PgSQL support" on
+OPTIONS_DEFINE= MYSQL \
+ SQLITE \
+ PGSQL
+
+OPTIONS_DEFAULT=MYSQL SQLITE PGSQL
+
+.include <bsd.port.options.mk>
USE_GNOME= gnomehack
USE_GMAKE= yes
@@ -31,21 +35,21 @@ LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.include <bsd.port.pre.mk>
-.if defined(WITH_MYSQL)
+.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}/bin/mysql_config
.else
CONFIGURE_ARGS+= --without-mysql
.endif
-.if defined(WITH_SQLITE)
+.if ${PORT_OPTIONS:MSQLITE}
USE_SQLITE= 3
CONFIGURE_ARGS+= --with-sqlite=${LOCALBASE}
.else
CONFIGURE_ARGS+= --without-sqlite
.endif
-.if defined(WITH_PGSQL)
+.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
CONFIGURE_ARGS+= --with-postgresql=${LOCALBASE}/bin/pg_config
.else
diff --git a/databases/libzdb/distinfo b/databases/libzdb/distinfo
index 4897667f76eb..0c35ee61c423 100644
--- a/databases/libzdb/distinfo
+++ b/databases/libzdb/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libzdb-2.10.tar.gz) = 62cd160bb6c8da49fcf9a6746f45ff0298db8d310565b7e74c648fc6a67609bd
-SIZE (libzdb-2.10.tar.gz) = 613248
+SHA256 (libzdb-2.10.3.tar.gz) = 8716d2cb3563478228f33de43e89857b3d190576be36a1f490dc245ffe60f959
+SIZE (libzdb-2.10.3.tar.gz) = 600834
diff --git a/databases/libzdb/pkg-plist b/databases/libzdb/pkg-plist
index 0638c972b259..1b76ac745619 100644
--- a/databases/libzdb/pkg-plist
+++ b/databases/libzdb/pkg-plist
@@ -10,4 +10,5 @@ lib/libzdb.a
lib/libzdb.la
lib/libzdb.so
lib/libzdb.so.8
+libdata/pkgconfig/zdb.pc
@dirrm include/zdb