Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2013 16:51:17 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334226 - head/databases/leveldb
Message-ID:  <201311181651.rAIGpH5q088878@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311181651.rAIGpH5q088878>