diff options
author | johans <johans@FreeBSD.org> | 2013-06-25 03:30:46 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2013-06-25 03:30:46 +0800 |
commit | df4918ee2e7af7d11775d0740d749a589e032577 (patch) | |
tree | 4a066cd4b014411fb828352e9e4543848b1986ed | |
parent | f1cc1f1f7f2a10ce34b7e4e9413d2eac5d051bd5 (diff) | |
download | freebsd-ports-gnome-df4918ee2e7af7d11775d0740d749a589e032577.tar.gz freebsd-ports-gnome-df4918ee2e7af7d11775d0740d749a589e032577.tar.zst freebsd-ports-gnome-df4918ee2e7af7d11775d0740d749a589e032577.zip |
- Update GNU dbm to 1.10
- Add NLS support
- Adopt port
Approved by: gabor (old maintainer)
-rw-r--r-- | databases/gdbm/Makefile | 18 | ||||
-rw-r--r-- | databases/gdbm/distinfo | 4 | ||||
-rw-r--r-- | databases/gdbm/pkg-plist | 5 |
3 files changed, 20 insertions, 7 deletions
diff --git a/databases/gdbm/Makefile b/databases/gdbm/Makefile index 33685812ce31..3cccfaddcc19 100644 --- a/databases/gdbm/Makefile +++ b/databases/gdbm/Makefile @@ -2,11 +2,11 @@ # $FreeBSD$ PORTNAME= gdbm -PORTVERSION= 1.9.1 +PORTVERSION= 1.10 CATEGORIES= databases MASTER_SITES= GNU -MAINTAINER= gabor@FreeBSD.org +MAINTAINER= johans@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: diff --git a/databases/gdbm/distinfo b/databases/gdbm/distinfo index af2e67eef35a..bfc5180671c7 100644 --- a/databases/gdbm/distinfo +++ b/databases/gdbm/distinfo @@ -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 diff --git a/databases/gdbm/pkg-plist b/databases/gdbm/pkg-plist index c44b0eaf8111..b0bc5d391edb 100644 --- a/databases/gdbm/pkg-plist +++ b/databases/gdbm/pkg-plist @@ -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 |