From owner-svn-ports-all@FreeBSD.ORG Mon Nov 18 16:51:17 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6A4A465F; Mon, 18 Nov 2013 16:51:17 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5A1572755; Mon, 18 Nov 2013 16:51:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAIGpHEo088879; Mon, 18 Nov 2013 16:51:17 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAIGpH5q088878; Mon, 18 Nov 2013 16:51:17 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201311181651.rAIGpH5q088878@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Mon, 18 Nov 2013 16:51:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334226 - head/databases/leveldb X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 16:51:17 -0000 Author: sunpoet Date: Mon Nov 18 16:51:16 2013 New Revision: 334226 URL: http://svnweb.freebsd.org/changeset/ports/334226 Log: - Add LICENSE - Convert to new options helper Modified: head/databases/leveldb/Makefile Modified: head/databases/leveldb/Makefile ============================================================================== --- head/databases/leveldb/Makefile Mon Nov 18 16:49:08 2013 (r334225) +++ head/databases/leveldb/Makefile Mon Nov 18 16:51:16 2013 (r334226) @@ -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 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