2017-09-11 14:30:17 +00:00
|
|
|
# Created by: Keith Gaughan <k@sterechro.me>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lmdb
|
|
|
|
PORTVERSION= 0.93
|
|
|
|
CATEGORIES= databases python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= k@stereochro.me
|
|
|
|
COMMENT= Python bindings for LMDB
|
|
|
|
|
|
|
|
LICENSE= OPENLDAP
|
|
|
|
LICENSE_NAME= OpenLDAP Public LIcense
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
|
2018-06-20 17:05:41 +00:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0.8:devel/py-cffi@${PY_FLAVOR}
|
2017-09-11 14:30:17 +00:00
|
|
|
LIB_DEPENDS= liblmdb.so:databases/lmdb
|
|
|
|
|
|
|
|
USES= localbase python
|
|
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
|
|
|
|
MAKE_ENV= LMDB_FORCE_SYSTEM=1 \
|
|
|
|
LMDB_FORCE_CFFI=1
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/lmdb/lmdb_cffi.so
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|