Makefile 968 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.9 2017/04/28 08:56:33 landry Exp $
  2. COMMENT= GIS WMTS/TMS tile caching server
  3. DISTNAME = mapcache-1.6.0
  4. SHARED_LIBS += mapcache 2.0
  5. CATEGORIES= geo www
  6. HOMEPAGE= http://www.mapserver.org/
  7. MASTER_SITES= http://download.osgeo.org/mapserver/
  8. # MIT
  9. PERMIT_PACKAGE_CDROM= Yes
  10. MAINTAINER= Landry Breuil <landry@openbsd.org>
  11. MODULES= devel/cmake
  12. RUN_DEPENDS = www/spawn-fcgi
  13. NO_TEST = Yes
  14. LIB_DEPENDS= devel/apr-util \
  15. databases/sqlite3 \
  16. geo/gdal \
  17. geo/geos \
  18. www/fcgi
  19. WANTLIB += apr-1 aprutil-1 c curl fcgi gdal geos_c jpeg m pixman-1
  20. WANTLIB += png pthread sqlite3 z
  21. CONFIGURE_ARGS += -DWITH_APACHE:Bool=Off
  22. post-install:
  23. ${INSTALL_DATA_DIR} ${WRKINST}/${VARBASE}/www/cgi-bin
  24. ${INSTALL_DATA_DIR} ${WRKINST}/${VARBASE}/www/conf
  25. ${INSTALL_PROGRAM} ${PREFIX}/bin/mapcache.fcgi ${WRKINST}/${VARBASE}/www/cgi-bin/mapcache
  26. ${INSTALL_DATA} ${WRKSRC}/mapcache.xml ${WRKINST}/${VARBASE}/www/conf/mapcache.xml
  27. .include <bsd.port.mk>