1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/databases/py-lmdb/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

31 lines
733 B
Makefile

# 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
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0.8:devel/py-cffi@${PY_FLAVOR}
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>