From b2195801de6a0faab680fa3bd4abdd63a7103021 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Mon, 18 Nov 2013 16:51:16 +0000 Subject: - Add LICENSE - Convert to new options helper --- databases/leveldb/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'databases/leveldb') 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 +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 .if ${PORT_OPTIONS:MSNAPPY} -LIB_DEPENDS+= libsnappy.so:${PORTSDIR}/archivers/snappy SNAPPY= 1 .else SNAPPY= 0 -- cgit