[Midnightbsd-cvs] mports [15701] trunk/databases/gdbm: gdbm 1.10

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Dec 22 11:14:02 EST 2013


Revision: 15701
          http://svnweb.midnightbsd.org/mports/?rev=15701
Author:   laffer1
Date:     2013-12-22 11:14:01 -0500 (Sun, 22 Dec 2013)
Log Message:
-----------
gdbm 1.10

Modified Paths:
--------------
    trunk/databases/gdbm/Makefile
    trunk/databases/gdbm/distinfo
    trunk/databases/gdbm/pkg-descr
    trunk/databases/gdbm/pkg-plist

Modified: trunk/databases/gdbm/Makefile
===================================================================
--- trunk/databases/gdbm/Makefile	2013-12-22 16:11:10 UTC (rev 15700)
+++ trunk/databases/gdbm/Makefile	2013-12-22 16:14:01 UTC (rev 15701)
@@ -1,47 +1,55 @@
 # $MidnightBSD$
 
 PORTNAME=	gdbm
-PORTVERSION=	1.9.1
-PORTREVISION=	0
+PORTVERSION=	1.10
 CATEGORIES=	databases
 MASTER_SITES=	GNU
 
 MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	The GNU database manager
-LICENSE=        gpl2
+COMMENT=	GNU database manager
 
+LICENSE=        gpl3
+
 FAKE_OPTS+=	prefixhack
 
+GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	libtool
 USE_GMAKE=	yes
-GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 DESTDIRNAME=	INSTALL_ROOT
 
-.if defined(WITH_COMPAT)
-INSTALL_TARGET=	install install-compat
-PLIST_SUB=	GDBM_COMPAT=""
-.else
-PLIST_SUB=	GDBM_COMPAT="@comment "
-.endif
+MAKE_JOBS_UNSAFE=	yes
 
+INFO=		gdbm
 MAN3=		gdbm.3
-INFO=		gdbm
 
-pre-everything::
-.if !defined(WITH_COMPAT)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "If you need UNIX dbm/ndbm compatibility functions,"
-	@${ECHO_MSG} "use \"make WITH_COMPAT=yes\""
-	@${ECHO_MSG}
+OPTIONS_DEFINE=	COMPAT NLS
+COMPAT_DESC=	Enable dbm/ndbm compatibility
+
+NO_STAGE=	yes
+.include <bsd.mport.options.mk>
+
+.if ${PORT_OPTIONS:MCOMPAT}
+CONFIGURE_ARGS=	--enable-libgdbm-compat
+PLIST_SUB+=	GDBM_COMPAT=""
+.else
+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:
 	@${REINPLACE_CMD} "s|prefix = @prefix@|prefix = ${TARGETDIR}|" \
 			${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e "s|LIBS = @LIBS@ -lc|LIBS = @LIBS@|" \
-			-e "s|BINOWN = bin|BINOWN = root|" -e "s|BINGRP = bin|BINGRP = wheel|" \
-			-e "s|libgdbm.la libgdbm_compat.la|libgdbm.la libgdbm_compat.la gdbm.info|" \
+		-e "s|BINOWN = bin|BINOWN = root|" -e "s|BINGRP = bin|BINGRP = wheel|" \
+		-e "s|libgdbm.la libgdbm_compat.la|libgdbm.la libgdbm_compat.la gdbm.info|" \
 			${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>

Modified: trunk/databases/gdbm/distinfo
===================================================================
--- trunk/databases/gdbm/distinfo	2013-12-22 16:11:10 UTC (rev 15700)
+++ trunk/databases/gdbm/distinfo	2013-12-22 16:14:01 UTC (rev 15701)
@@ -1,3 +1,2 @@
-SHA256 (gdbm-1.9.1.tar.gz) = 6025852637772b0699f2294b5f14fd4a084bca3c8161d29d64d1f30d6d1a9aed
-RMD160 (gdbm-1.9.1.tar.gz) = 512ad1b5c3a3fb7b17094d627b9d6da8215532f2
-SIZE (gdbm-1.9.1.tar.gz) = 554843
+SHA256 (gdbm-1.10.tar.gz) = 23f8134c5b94bbfb06d756a6b78f074fba6e6028cf2fe01341d40b26db773441
+SIZE (gdbm-1.10.tar.gz) = 655599

Modified: trunk/databases/gdbm/pkg-descr
===================================================================
--- trunk/databases/gdbm/pkg-descr	2013-12-22 16:11:10 UTC (rev 15700)
+++ trunk/databases/gdbm/pkg-descr	2013-12-22 16:14:01 UTC (rev 15701)
@@ -1,9 +1,8 @@
-The GNU `dbm' is a library of database functions that use extendible
-hashing and works similar to the standard UNIX `dbm' functions.
-These routines are provided to a programmer needing to create and
-manipulate a hashed database.
+The GNU dbm is a library of database functions that use extensible hashing
+and works similar to the standard UNIX dbm functions.  These routines are
+provided to a programmer needing to create and manipulate a hashed database.
 
-This library exists in the FreeBSD base collection, but the GNU
-version has added functionality that is sometimes useful.
+This library exists in the SD base collection, but the GNU version has
+added functionality that is sometimes useful.
 
-WWW: http://www.gnu.org/software/gdbm/gdbm.html
+WWW: http://www.gnu.org/software/gdbm/

Modified: trunk/databases/gdbm/pkg-plist
===================================================================
--- trunk/databases/gdbm/pkg-plist	2013-12-22 16:11:10 UTC (rev 15700)
+++ trunk/databases/gdbm/pkg-plist	2013-12-22 16:14:01 UTC (rev 15701)
@@ -1,4 +1,4 @@
- at comment $FreeBSD: ports/databases/gdbm/pkg-plist,v 1.13 2011/09/12 13:20:47 gabor Exp $
+ at comment $FreeBSD$
 bin/testgdbm
 include/gdbm.h
 %%GDBM_COMPAT%%include/dbm.h
@@ -11,3 +11,8 @@
 %%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 Midnightbsd-cvs mailing list