- Update to 0.9.8.

- Override 'do-install' target so we install shared
   library with a version number.
This commit is contained in:
Xin LI 2013-09-09 19:29:00 +00:00
parent 11008fac27
commit 886e61b82c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326841
2 changed files with 21 additions and 7 deletions

View file

@ -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

View file

@ -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