freebsd-ports/databases/pyspatialite/Makefile
Danilo G. Baio e07497a337 Update maintainer email address
Ownership of the former email address confirmed by email

PR:		219791
Submitted by:	lbartoletti@tuxfamily.org (maintainer)
Approved by:	garga (mentor)
Differential Revision:	https://reviews.freebsd.org/D11088
2017-06-10 14:54:34 +00:00

44 lines
1 KiB
Makefile

# Created by: lbartoletti <coder@tuxfamily.org>
# $FreeBSD$
PORTNAME= pyspatialite
PORTVERSION= 3.0.1
DISTVERSIONSUFFIX= -alpha-0
PORTREVISION= 7
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP/source/p/${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lbartoletti@tuxfamily.org
COMMENT= DB-API 2.0 interface for SQLite 3.x with Spatialite
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libspatialite.so:databases/spatialite \
libgeos_c.so:graphics/geos \
libproj.so:graphics/proj \
libfreexl.so:textproc/freexl
OPTIONS_DEFINE= DOCS
USES= iconv python
USE_PYTHON= autoplist concurrent distutils
.include <bsd.port.pre.mk>
.if empty(ICONV_LIB)
ICONV_APPEND=
.else
ICONV_APPEND= ,iconv
.endif
post-patch:
@${REINPLACE_CMD} -e "s|pyspatialite-doc|${DOCSDIR}|g" ${WRKSRC}/setup.py
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
-e "s|%%ICONV%%|${ICONV_APPEND}|" ${WRKSRC}/setup.cfg
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyspatialite/_spatialite.so
.include <bsd.port.post.mk>