mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
666ee8ddfd
PR: 137472 Submitted by: Wen Heping <wenheping@gmail.com> (maintainer)
33 lines
767 B
Makefile
33 lines
767 B
Makefile
# Ports collection makefile for: py-rtree
|
|
# Date created: 16 June, 2008
|
|
# Whom: wenheping@gmail.com
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= rtree
|
|
PORTVERSION= 0.5.0
|
|
CATEGORIES= devel science python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= Rtree-${PORTVERSION}
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
COMMENT= R-Tree Spatial Index For Python GIS
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/include/spatialindex/SpatialIndex.h:${PORTSDIR}/devel/spatialindex
|
|
RUN_DEPENDS+= ${BUILD_DEPENDS}
|
|
|
|
USE_PYTHON= 2.5+
|
|
USE_PYDISTUTILS= easy_install
|
|
PYDISTUTILS_PKGNAME= Rtree
|
|
PYDISTUTILS_NOEGGINFO= yes
|
|
PYEASYINSTALL_ARCHDEP= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
post-extract:
|
|
${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
|
|
${WRKSRC}/setup.cfg
|
|
|
|
.include <bsd.port.mk>
|