freebsd-ports/devel/py-rtree/Makefile
Antoine Brodin 685b06a7ee - Stage support
- Switch from easy_install to install
- Use PYDISTUTILS_AUTOPLIST
2014-02-15 22:00:46 +00:00

26 lines
608 B
Makefile

# Created by: wenheping@gmail.com
# $FreeBSD$
PORTNAME= rtree
PORTVERSION= 0.7.0
PORTREVISION= 2
CATEGORIES= devel science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Rtree-${PORTVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= R-Tree Spatial Index For Python GIS
BUILD_DEPENDS+= ${LOCALBASE}/include/spatialindex/SpatialIndex.h:${PORTSDIR}/devel/spatialindex
RUN_DEPENDS+= ${BUILD_DEPENDS}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
post-extract:
${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
${WRKSRC}/setup.cfg
.include <bsd.port.mk>