aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-11-19 00:51:16 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-11-19 00:51:16 +0800
commitb2195801de6a0faab680fa3bd4abdd63a7103021 (patch)
treeb6d80865a31317be4deb22f628d075e9f500aad8
parent1c7f8b95d62eafb35617edcc925b5fcbee3f917b (diff)
downloadfreebsd-ports-gnome-b2195801de6a0faab680fa3bd4abdd63a7103021.tar.gz
freebsd-ports-gnome-b2195801de6a0faab680fa3bd4abdd63a7103021.tar.zst
freebsd-ports-gnome-b2195801de6a0faab680fa3bd4abdd63a7103021.zip
- Add LICENSE
- Convert to new options helper
-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