aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2013-09-10 03:29:00 +0800
committerdelphij <delphij@FreeBSD.org>2013-09-10 03:29:00 +0800
commit92d6378206e1db2378653bc1a21626465d908612 (patch)
tree0b489971ef8f0e8c6f9427a366cbd6c8c542fcfd /databases
parentf3571dba2484c54162cc61b8abc288c7ec6cca14 (diff)
downloadfreebsd-ports-gnome-92d6378206e1db2378653bc1a21626465d908612.tar.gz
freebsd-ports-gnome-92d6378206e1db2378653bc1a21626465d908612.tar.zst
freebsd-ports-gnome-92d6378206e1db2378653bc1a21626465d908612.zip
- Update to 0.9.8.
- Override 'do-install' target so we install shared library with a version number.
Diffstat (limited to 'databases')
-rw-r--r--databases/lmdb/Makefile24
-rw-r--r--databases/lmdb/distinfo4
2 files changed, 21 insertions, 7 deletions
diff --git a/databases/lmdb/Makefile b/databases/lmdb/Makefile
index 235f433e3bd3..3b3c8c34cbf0 100644
--- a/databases/lmdb/Makefile
+++ b/databases/lmdb/Makefile
@@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= lmdb
-PORTVERSION= 0.9.7
+PORTVERSION= 0.9.8
CATEGORIES= databases
-MASTER_SITES= LOCAL/delphij \
- https://gitorious.org/${GO_ACCOUNT}/${GO_PROJECT}/archive-tarball/${GO_TAGNAME}?dummy=
+MASTER_SITES= https://gitorious.org/${GO_ACCOUNT}/${GO_PROJECT}/archive/${GO_TAGNAME}.tar.gz?dummy= \
+ LOCAL/delphij
MAINTAINER= delphij@FreeBSD.org
COMMENT= OpenLDAP Lightning Memory-Mapped Database
@@ -17,13 +17,27 @@ MAKE_ENV+= CC="${CC}"
MAKE_ENV+= XCFLAGS="${CFLAGS} ${PTHREAD_LIBS}" prefix="${PREFIX}" INSTALL_PROGRAM="${INSTALL_PROGRAM}"
MAKE_ENV+= INSTALL_LIB="${INSTALL_LIB}" INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}"
+USE_LDCONFIG= yes
+
GO_ACCOUNT= mdb
GO_PROJECT= mdb
GO_TAGNAME= ${PORTNAME:U}_${PORTVERSION}
-FETCH_ARGS?= -o - > ${DISTDIR}/${DISTFILES}
+FETCH_ARGS?= -o ${DISTDIR}/${DISTFILES}
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/liblmdb.a ${PREFIX}/lib/
+ ${INSTALL_LIB} ${WRKSRC}/liblmdb.so ${PREFIX}/lib/liblmdb.so.0
+ ${LN} -sf liblmdb.so.0 ${PREFIX}/lib/liblmdb.so
+.for f in mdb_stat mdb_copy
+ ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/lmdb.h ${PREFIX}/include
+.for f in mdb_stat.1 mdb_copy.1
+ ${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/man/man1
+.endfor
MAN1= mdb_stat.1 mdb_copy.1
-PLIST_FILES= lib/liblmdb.a lib/liblmdb.so
+PLIST_FILES= lib/liblmdb.a lib/liblmdb.so lib/liblmdb.so.0
PLIST_FILES+= bin/mdb_stat bin/mdb_copy
PLIST_FILES+= include/lmdb.h
diff --git a/databases/lmdb/distinfo b/databases/lmdb/distinfo
index 53e56faf8f8c..6c5379746722 100644
--- a/databases/lmdb/distinfo
+++ b/databases/lmdb/distinfo
@@ -1,2 +1,2 @@
-SHA256 (lmdb-0.9.7.tar.gz) = 9f054dc62f4b24c85347568196b94501a70b04e4eb54235a0e9ab7a1e3e43390
-SIZE (lmdb-0.9.7.tar.gz) = 108534
+SHA256 (lmdb-0.9.8.tar.gz) = 92f6da5acdd427780d2101eac96fa7b78f1490d8c24813e91436acfe3b6ba2c8
+SIZE (lmdb-0.9.8.tar.gz) = 110395