aboutsummaryrefslogtreecommitdiff
path: root/databases/leveldb
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-18 16:51:16 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-18 16:51:16 +0000
commit62c17b0e5113c62a79a8ef848f981db736b62493 (patch)
treeb6d80865a31317be4deb22f628d075e9f500aad8 /databases/leveldb
parentbb43811ef338214563ac3587966b8ad72b880c80 (diff)
downloadports-62c17b0e5113c62a79a8ef848f981db736b62493.tar.gz
ports-62c17b0e5113c62a79a8ef848f981db736b62493.zip
- Add LICENSE
- Convert to new options helper
Notes
Notes: svn path=/head/; revision=334226
Diffstat (limited to 'databases/leveldb')
-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