svn commit: r321709 - head/databases/gdbm
Johan van Selst
johans at FreeBSD.org
Mon Jun 24 19:30:48 UTC 2013
Author: johans
Date: Mon Jun 24 19:30:46 2013
New Revision: 321709
URL: http://svnweb.freebsd.org/changeset/ports/321709
Log:
- Update GNU dbm to 1.10
- Add NLS support
- Adopt port
Approved by: gabor (old maintainer)
Modified:
head/databases/gdbm/Makefile
head/databases/gdbm/distinfo
head/databases/gdbm/pkg-plist
Modified: head/databases/gdbm/Makefile
==============================================================================
--- head/databases/gdbm/Makefile Mon Jun 24 19:05:53 2013 (r321708)
+++ head/databases/gdbm/Makefile Mon Jun 24 19:30:46 2013 (r321709)
@@ -2,11 +2,11 @@
# $FreeBSD$
PORTNAME= gdbm
-PORTVERSION= 1.9.1
+PORTVERSION= 1.10
CATEGORIES= databases
MASTER_SITES= GNU
-MAINTAINER= gabor at FreeBSD.org
+MAINTAINER= johans at FreeBSD.org
COMMENT= GNU database manager
LICENSE= GPLv3
@@ -21,16 +21,24 @@ MAKE_JOBS_UNSAFE= yes
INFO= gdbm
MAN3= gdbm.3
-OPTIONS_DEFINE= COMPAT
+OPTIONS_DEFINE= COMPAT NLS
COMPAT_DESC= Enable dbm/ndbm compatibility
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCOMPAT}
CONFIGURE_ARGS= --enable-libgdbm-compat
-PLIST_SUB= GDBM_COMPAT=""
+PLIST_SUB+= GDBM_COMPAT=""
.else
-PLIST_SUB= GDBM_COMPAT="@comment "
+PLIST_SUB+= GDBM_COMPAT="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MNLS}
+USES+= gettext
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
post-patch:
Modified: head/databases/gdbm/distinfo
==============================================================================
--- head/databases/gdbm/distinfo Mon Jun 24 19:05:53 2013 (r321708)
+++ head/databases/gdbm/distinfo Mon Jun 24 19:30:46 2013 (r321709)
@@ -1,2 +1,2 @@
-SHA256 (gdbm-1.9.1.tar.gz) = 6025852637772b0699f2294b5f14fd4a084bca3c8161d29d64d1f30d6d1a9aed
-SIZE (gdbm-1.9.1.tar.gz) = 554843
+SHA256 (gdbm-1.10.tar.gz) = 23f8134c5b94bbfb06d756a6b78f074fba6e6028cf2fe01341d40b26db773441
+SIZE (gdbm-1.10.tar.gz) = 655599
Modified: head/databases/gdbm/pkg-plist
==============================================================================
--- head/databases/gdbm/pkg-plist Mon Jun 24 19:05:53 2013 (r321708)
+++ head/databases/gdbm/pkg-plist Mon Jun 24 19:30:46 2013 (r321709)
@@ -11,3 +11,8 @@ lib/libgdbm.so.4
%%GDBM_COMPAT%%lib/libgdbm_compat.la
%%GDBM_COMPAT%%lib/libgdbm_compat.so
%%GDBM_COMPAT%%lib/libgdbm_compat.so.4
+%%NLS%%share/locale/de/LC_MESSAGES/gdbm.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/gdbm.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/gdbm.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/gdbm.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/gdbm.mo
More information about the svn-ports-all
mailing list