summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/leveldb/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/databases/leveldb/Makefile b/databases/leveldb/Makefile
index 2060a9d5ffba..d8d936d5ec0c 100644
--- a/databases/leveldb/Makefile
+++ b/databases/leveldb/Makefile
@@ -9,6 +9,8 @@ MASTER_SITES= GOOGLE_CODE
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Fast and lightweight key/value database library by Google
+LICENSE= BSD
+
OPTIONS_DEFINE= GPERFTOOLS SNAPPY
OPTIONS_DEFAULT=SNAPPY
@@ -25,14 +27,12 @@ NOT_FOR_ARCHS_REASON= not yet ported to this platform
SHLIB_MAJOR= ${PORTVERSION:R:R}
SHLIB_MINOR= ${PORTVERSION:R:E}
-.include <bsd.port.options.mk>
+GPERFTOOLS_LIB_DEPENDS= libtcmalloc.so:${PORTSDIR}/devel/google-perftools
+SNAPPY_LIB_DEPENDS= libsnappy.so:${PORTSDIR}/archivers/snappy
-.if ${PORT_OPTIONS:MGPERFTOOLS}
-LIB_DEPENDS+= libtcmalloc.so:${PORTSDIR}/devel/google-perftools
-.endif
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSNAPPY}
-LIB_DEPENDS+= libsnappy.so:${PORTSDIR}/archivers/snappy
SNAPPY= 1
.else
SNAPPY= 0