aboutsummaryrefslogtreecommitdiffstats
path: root/databases/leveldb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/leveldb/Makefile')
-rw-r--r--databases/leveldb/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/leveldb/Makefile b/databases/leveldb/Makefile
index 8c92faba1b4b..e486e7b59861 100644
--- a/databases/leveldb/Makefile
+++ b/databases/leveldb/Makefile
@@ -3,6 +3,7 @@
PORTNAME= leveldb
PORTVERSION= 1.18
+PORTREVISION= 1
CATEGORIES= databases
MAINTAINER= sunpoet@FreeBSD.org
@@ -55,9 +56,9 @@ do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/leveldb/ ${STAGEDIR}${PREFIX}/include/memenv/ ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/include/leveldb/* ${STAGEDIR}${PREFIX}/include/leveldb/
${INSTALL_DATA} ${WRKSRC}/helpers/memenv/memenv.h ${STAGEDIR}${PREFIX}/include/memenv/
- ${INSTALL_LIB} ${WRKSRC}/libleveldb.a ${STAGEDIR}${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/libleveldb.a ${STAGEDIR}${PREFIX}/lib/
${INSTALL_LIB} ${WRKSRC}/libleveldb.so.${SHLIB_MAJOR}.${SHLIB_MINOR} ${STAGEDIR}${PREFIX}/lib/
- ${INSTALL_LIB} ${WRKSRC}/libmemenv.a ${STAGEDIR}${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/libmemenv.a ${STAGEDIR}${PREFIX}/lib/
${INSTALL_LIB} ${WRKSRC}/libmemenv.so.${SHLIB_MAJOR}.${SHLIB_MINOR} ${STAGEDIR}${PREFIX}/lib/
${LN} -fs libleveldb.so.${SHLIB_MAJOR} ${STAGEDIR}${PREFIX}/lib/libleveldb.so
${LN} -fs libleveldb.so.${SHLIB_MAJOR}.${SHLIB_MINOR} ${STAGEDIR}${PREFIX}/lib/libleveldb.so.${SHLIB_MAJOR}