diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-05-02 19:17:12 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-05-02 19:17:12 +0000 |
commit | 3fd0739739d6f94958d428f4d501a870e62f939e (patch) | |
tree | d878c798506e523e20df31c5d5e397ccc3a72427 | |
parent | 88f6c5508a21a82f39d6764af4f87acc6b468535 (diff) | |
download | ports-3fd0739739d6f94958d428f4d501a870e62f939e.tar.gz ports-3fd0739739d6f94958d428f4d501a870e62f939e.zip |
Notes
-rw-r--r-- | databases/opendbx/Makefile | 23 | ||||
-rw-r--r-- | databases/opendbx/distinfo | 6 | ||||
-rw-r--r-- | databases/opendbx/pkg-plist | 6 |
3 files changed, 21 insertions, 14 deletions
diff --git a/databases/opendbx/Makefile b/databases/opendbx/Makefile index b4bf37184682..604360fc417c 100644 --- a/databases/opendbx/Makefile +++ b/databases/opendbx/Makefile @@ -6,7 +6,7 @@ # PORTNAME= opendbx -PORTVERSION= 1.2.5 +PORTVERSION= 1.2.6 CATEGORIES= databases MASTER_SITES= http://www.linuxnetworks.de/opendbx/download/ DISTNAME= ${PORTNAME}-${PORTVERSION} @@ -14,24 +14,23 @@ DISTNAME= ${PORTNAME}-${PORTVERSION} MAINTAINER= tremere@cainites.net COMMENT= A C library for accessing databases with a single API -USE_GMAKE= YES -USE_AUTOTOOLS= libtool:15 +USE_GMAKE= YES +USE_AUTOTOOLS= libtool:15 -CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -LDFLAGS+= ${PTHREAD_LIBS} -L../lib -L${LOCALBASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +LDFLAGS+= ${PTHREAD_LIBS} -L../lib -L${LOCALBASE}/lib CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS+= --with-backends="${CONFIGURE_MODULES}" CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -USE_LDCONFIG= ${PREFIX}/lib/opendbx +USE_LDCONFIG= ${PREFIX}/lib/opendbx OPTIONS= MYSQL "Support for the MySQL database" on \ PGSQL "Support for the PostgreSQL database" off \ 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 + SYBASE "Support for the Sybase database" off .include <bsd.port.pre.mk> @@ -89,10 +88,12 @@ PLIST_SUB+= WITHSYBASE="" PLIST_SUB+= WITHSYBASE="@comment " .endif -.if defined(WITH_GETTEXT) -USE_GETTEXT= YES -.else +.if defined(WITHOUT_NLS) CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.else +USE_GETTEXT= yes +PLIST_SUB+= NLS="" .endif .include <bsd.port.post.mk> diff --git a/databases/opendbx/distinfo b/databases/opendbx/distinfo index 3bb07ffd13c9..a3b3ff9ad6f1 100644 --- a/databases/opendbx/distinfo +++ b/databases/opendbx/distinfo @@ -1,3 +1,3 @@ -MD5 (opendbx-1.2.5.tar.gz) = b671580bb9b06adbfb04530901c7b205 -SHA256 (opendbx-1.2.5.tar.gz) = 1a8b368d3c776f2eaf5efa5e11efb62c56e2c4f5508b9862a115b07d060c9a09 -SIZE (opendbx-1.2.5.tar.gz) = 487026 +MD5 (opendbx-1.2.6.tar.gz) = b7aa2fed7ecee493aad434bfbb72a1e8 +SHA256 (opendbx-1.2.6.tar.gz) = 99367a4d150964112f6deec4f929f18fcf5076fae220cc7c133fc6d99060b8d5 +SIZE (opendbx-1.2.6.tar.gz) = 487528 diff --git a/databases/opendbx/pkg-plist b/databases/opendbx/pkg-plist index b8fcddb2f52a..5bc2498584b2 100644 --- a/databases/opendbx/pkg-plist +++ b/databases/opendbx/pkg-plist @@ -4,6 +4,8 @@ lib/libopendbx.la lib/libopendbx.so lib/libopendbx.so.2 libdata/pkgconfig/opendbx.pc +%%NLS%%share/locale/de/LC_MESSAGES/opendbx.mo +%%NLS%%share/locale/en@quot/LC_MESSAGES/opendbx.mo %%WITHPGSQL%%lib/opendbx/libpgsqlbackend.a %%WITHPGSQL%%lib/opendbx/libpgsqlbackend.la %%WITHPGSQL%%lib/opendbx/libpgsqlbackend.so @@ -29,3 +31,7 @@ libdata/pkgconfig/opendbx.pc %%WITHSYBASE%%lib/opendbx/libsybasebackend.so %%WITHSYBASE%%lib/opendbx/libsybasebackend.so.2 @dirrm lib/opendbx +%%NLS%%@dirrmtry share/locale/en@quot/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/en@quot +%%NLS%%@dirrmtry share/locale/de/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/de |