diff --git a/databases/py-leveldb/Makefile b/databases/py-leveldb/Makefile index 0c9548278d42..9d94204b085a 100644 --- a/databases/py-leveldb/Makefile +++ b/databases/py-leveldb/Makefile @@ -3,6 +3,7 @@ PORTNAME= leveldb PORTVERSION= 0.1.20130428 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= LOCAL/sunpoet PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,16 +16,13 @@ LICENSE= BSD3CLAUSE LIB_DEPENDS= libleveldb.so:${PORTSDIR}/databases/leveldb -USE_PYTHON= yes +PYDISTUTILS_AUTOPLIST= yes USE_PYDISTUTILS=yes +USE_PYTHON= yes USE_XZ= yes -PLIST_FILES= %%PYTHON_SITELIBDIR%%/leveldb.so -PYDISTUTILS_EGGINFO= ${PORTNAME}-${PORTVERSION:R}-py${PYTHON_VER}.egg-info - post-patch: @${REINPLACE_CMD} \ - -e 's|setuptools|do_not_use_&|' \ -e "s|^\(extra_compile_args = \).*$$|\1\['-I${LOCALBASE}/include'\]|" \ -e "s|^\(extra_link_args = \).*$$|\1\['-L${LOCALBASE}/lib', '-lleveldb'\]|" \ ${WRKSRC}/${PYSETUP}