Makefile 1018 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.10 2017/06/10 07:45:40 landry Exp $
  2. COMMENT = GIS WMTS/TMS tile caching server
  3. MODPY_EGG_VERSION = 1.10.1
  4. DISTNAME = MapProxy-${MODPY_EGG_VERSION}
  5. PKGNAME = ${DISTNAME:L}
  6. CATEGORIES = geo www
  7. HOMEPAGE = http://www.mapproxy.org/
  8. # apache v2
  9. PERMIT_PACKAGE_CDROM = Yes
  10. MAINTAINER = Landry Breuil <landry@openbsd.org>
  11. MODULES = lang/python
  12. MODPY_PI = Yes
  13. MODPY_SETUPTOOLS = Yes
  14. MODPY_ADJ_FILES = mapproxy/test/system/fixture/cgi.py
  15. # libproj is dlopen'ed by proj.py - otherwise fallbacks to py-proj
  16. RUN_DEPENDS = devel/proj \
  17. textproc/py-yaml \
  18. textproc/py-lxml \
  19. graphics/py-Pillow>2.4.0
  20. TEST_DEPENDS = ${RUN_DEPENDS} \
  21. devel/py-nose \
  22. geo/py-shapely \
  23. geo/gdal,-python \
  24. www/py-requests \
  25. www/py-webtest
  26. # some tests need mocker from https://labix.org/mocker
  27. pre-test:
  28. # can't be fixed by MODPY_ADJ_FILES since this is not on the 1st line
  29. sed -i -e 's# /usr/bin/env python#${MODPY_BIN}#' \
  30. ${WRKSRC}/mapproxy/test/unit/test_client_cgi.py
  31. .include <bsd.port.mk>