aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-leveldb
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-02-24 18:41:39 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-02-24 18:41:39 +0800
commitfc0f306bfdaca193c739aa3faa31bf0c91804667 (patch)
tree10674bacb6d191baad5ac6673811ca7da60af9c8 /databases/py-leveldb
parent0252e46bb1d31c3f36f6b14dbb3d599212945bea (diff)
downloadfreebsd-ports-gnome-fc0f306bfdaca193c739aa3faa31bf0c91804667.tar.gz
freebsd-ports-gnome-fc0f306bfdaca193c739aa3faa31bf0c91804667.tar.zst
freebsd-ports-gnome-fc0f306bfdaca193c739aa3faa31bf0c91804667.zip
- Use PYDISTUTILS_AUTOPLIST instead of PLIST_FILES and PYDISTUTILS_EGGINFO
- Remove patch of not using setuptools - Bump PORTREVISION for package change
Diffstat (limited to 'databases/py-leveldb')
-rw-r--r--databases/py-leveldb/Makefile8
1 files changed, 3 insertions, 5 deletions
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}