aboutsummaryrefslogtreecommitdiffstats
path: root/databases/opendbx
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-03-05 20:17:15 +0800
committerrafan <rafan@FreeBSD.org>2007-03-05 20:17:15 +0800
commite23ff8285fbc3744a0ed8d2df08881f6ef2bfd17 (patch)
tree78b332165f8708cc6d6d57baa733d0325bd805da /databases/opendbx
parent925f39a06e3dc5355e80e8306f31aa8dea29ebd5 (diff)
downloadfreebsd-ports-gnome-e23ff8285fbc3744a0ed8d2df08881f6ef2bfd17.tar.gz
freebsd-ports-gnome-e23ff8285fbc3744a0ed8d2df08881f6ef2bfd17.tar.zst
freebsd-ports-gnome-e23ff8285fbc3744a0ed8d2df08881f6ef2bfd17.zip
- Update to 1.2.2
- Add optional Sybase backend support - Update pkg-descr PR: ports/109850 Submitted by: Ralf van der Enden <tremere at cainites.net> (maintainer)
Diffstat (limited to 'databases/opendbx')
-rw-r--r--databases/opendbx/Makefile11
-rw-r--r--databases/opendbx/distinfo6
-rw-r--r--databases/opendbx/pkg-descr9
-rw-r--r--databases/opendbx/pkg-plist4
4 files changed, 22 insertions, 8 deletions
diff --git a/databases/opendbx/Makefile b/databases/opendbx/Makefile
index 63351ae27cb3..2d144610d392 100644
--- a/databases/opendbx/Makefile
+++ b/databases/opendbx/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= opendbx
-PORTVERSION= 1.2.1
+PORTVERSION= 1.2.2
CATEGORIES= databases
MASTER_SITES= http://www.linuxnetworks.de/opendbx/download/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@@ -30,6 +30,7 @@ OPTIONS= MYSQL "Support for the MySQL database" on \
SQLITE "Support for the SQLite 2 database" off \
SQLITE3 "Support for the SQLite 3 database" off \
MSSQL "Support for the MSSQL database" off \
+ SYBASE "Support for the Sybase database" off \
GETTEXT "Support for the gettext library" off
.include <bsd.port.pre.mk>
@@ -87,6 +88,14 @@ PLIST_SUB+= WITHMSSQL=""
PLIST_SUB+= WITHMSSQL="@comment "
.endif
+.if defined(WITH_SYBASE)
+LIB_DEPENDS+= ct.4:${PORTSDIR}/databases/freetds
+CONFIGURE_MODULES+= "sybase"
+PLIST_SUB+= WITHSYBASE=""
+.else
+PLIST_SUB+= WITHSYBASE="@comment "
+.endif
+
.if defined(WITH_GETTEXT)
USE_GETTEXT= YES
.else
diff --git a/databases/opendbx/distinfo b/databases/opendbx/distinfo
index a9fb52a52f40..23da9b429700 100644
--- a/databases/opendbx/distinfo
+++ b/databases/opendbx/distinfo
@@ -1,3 +1,3 @@
-MD5 (opendbx-1.2.1.tar.gz) = 0c455109d6a4a6d758d99ca1d55adb51
-SHA256 (opendbx-1.2.1.tar.gz) = a9ff56ce3291e46c7cc66334e4b2fabdb341a86d52a02038818d833749befbfe
-SIZE (opendbx-1.2.1.tar.gz) = 461015
+MD5 (opendbx-1.2.2.tar.gz) = 4a420ff46c3eca6fac63d1066d83e4ad
+SHA256 (opendbx-1.2.2.tar.gz) = df8459b0f3c7faea3168eaaf3883fba6c72708090d493913ec28da128614d2a3
+SIZE (opendbx-1.2.2.tar.gz) = 465394
diff --git a/databases/opendbx/pkg-descr b/databases/opendbx/pkg-descr
index ac7f52c994db..86a87e2e5e33 100644
--- a/databases/opendbx/pkg-descr
+++ b/databases/opendbx/pkg-descr
@@ -1,10 +1,11 @@
OpenDBX is an extremely lightweight but extensible C library for
accessing databases with a single API. It provides a clean and simple
interface across all supported databases that leads to an elegant
-code design automatically. Currently MySQL, PostgreSQL and SQLite are
-supported and backends for more native database APIs can be written
-easily. If you want your application to support different databases
-with little effort, this is definitively the right thing for you!
+code design automatically. Currently MySQL, PostgreSQL, SQLite
+(v2 & 3), MSSQL and Sybase are supported and backends for more native
+database APIs can be written easily. If you want your application to
+support different databases with little effort, this is definitively
+the right thing for you!
License: LGPL
diff --git a/databases/opendbx/pkg-plist b/databases/opendbx/pkg-plist
index 88499040aa4b..b8fcddb2f52a 100644
--- a/databases/opendbx/pkg-plist
+++ b/databases/opendbx/pkg-plist
@@ -24,4 +24,8 @@ libdata/pkgconfig/opendbx.pc
%%WITHMSSQL%%lib/opendbx/libmssqlbackend.la
%%WITHMSSQL%%lib/opendbx/libmssqlbackend.so
%%WITHMSSQL%%lib/opendbx/libmssqlbackend.so.2
+%%WITHSYBASE%%lib/opendbx/libsybasebackend.a
+%%WITHSYBASE%%lib/opendbx/libsybasebackend.la
+%%WITHSYBASE%%lib/opendbx/libsybasebackend.so
+%%WITHSYBASE%%lib/opendbx/libsybasebackend.so.2
@dirrm lib/opendbx