2013-01-30 17:50:34 +01:00
|
|
|
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
2011-10-28 16:22:03 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= leveldb
|
2017-01-02 16:12:00 +01:00
|
|
|
PORTVERSION= 0.20
|
2017-01-10 19:36:23 +01:00
|
|
|
PORTREVISION= 1
|
2011-10-28 16:22:03 +02:00
|
|
|
CATEGORIES= databases python
|
2017-01-02 16:12:00 +01:00
|
|
|
MASTER_SITES= CHEESESHOP
|
2011-10-28 16:22:03 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
|
|
COMMENT= Thread-safe Python binding for LevelDB
|
|
|
|
|
2013-12-23 18:12:33 +01:00
|
|
|
LICENSE= BSD3CLAUSE
|
2011-10-28 16:22:03 +02:00
|
|
|
|
2017-01-10 19:36:23 +01:00
|
|
|
LIB_DEPENDS= libleveldb.so:databases/leveldb
|
|
|
|
|
2017-01-04 16:02:38 +01:00
|
|
|
PORTSCOUT= skipv:0.194
|
|
|
|
|
2015-09-02 19:03:19 +02:00
|
|
|
USE_PYTHON= autoplist concurrent distutils
|
2017-01-10 19:36:23 +01:00
|
|
|
USES= localbase python
|
|
|
|
|
|
|
|
post-patch:
|
2017-12-16 21:55:10 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/setup.py
|
2017-01-10 19:36:23 +01:00
|
|
|
@${RM} -r ${WRKSRC}/leveldb/ ${WRKSRC}/snappy/
|
2011-10-28 16:22:03 +02:00
|
|
|
|
2015-08-19 07:07:07 +02:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/leveldb.so
|
|
|
|
|
2011-10-28 16:22:03 +02:00
|
|
|
.include <bsd.port.mk>
|