openbsd-ports/geo/py-proj/Makefile
2013-08-07 21:31:12 +00:00

36 lines
819 B
Makefile

# $OpenBSD: Makefile,v 1.15 2013/08/07 21:31:56 naddy Exp $
COMMENT = Pyrex generated python interface to PROJ.4 library
MODPY_EGG_VERSION = 1.9.3
DISTNAME = pyproj-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/py/py-/}
REVISION = 0
CATEGORIES = geo
HOMEPAGE = https://code.google.com/p/pyproj/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += ${MODPY_WANTLIB} pthread
MASTER_SITES = https://pyproj.googlecode.com/files/
MODULES = lang/python
BUILD_DEPENDS += ${RUN_DEPENDS}
RUN_DEPENDS += devel/proj \
math/py-numpy
do-test: fake
cd ${WRKSRC}/test && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./test.py
cd ${WRKSRC}/test && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./test2.py
.include <bsd.port.mk>