svn commit: r334226 - head/databases/leveldb
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Nov 18 16:51:17 UTC 2013
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 at 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
More information about the svn-ports-all
mailing list