Date: Wed, 16 Mar 2016 12:59:06 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411231 - in head/graphics: . mapcache Message-ID: <201603161259.u2GCx6h4067874@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Mar 16 12:59:06 2016 New Revision: 411231 URL: https://svnweb.freebsd.org/changeset/ports/411231 Log: graphics/mapcache: add new port PR: 207448 Submitted by: rmelcer@iteris.com This is a port of MapCache, a server that implements tile caching to speed up access to WMS layers. It's primary objectives are to be fast and easily deployable, while offering the essential features (and more!) expected from a tile caching solution. http://www.mapserver.org/mapcache/ Added: head/graphics/mapcache/ head/graphics/mapcache/Makefile (contents, props changed) head/graphics/mapcache/distinfo (contents, props changed) head/graphics/mapcache/pkg-descr (contents, props changed) head/graphics/mapcache/pkg-plist (contents, props changed) Modified: head/graphics/Makefile (contents, props changed) Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Wed Mar 16 12:58:46 2016 (r411230) +++ head/graphics/Makefile Wed Mar 16 12:59:06 2016 (r411231) @@ -579,6 +579,7 @@ SUBDIR += maim SUBDIR += makehuman SUBDIR += mandelbulber + SUBDIR += mapcache SUBDIR += mapnik SUBDIR += mapserver SUBDIR += mapyrus Added: head/graphics/mapcache/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/mapcache/Makefile Wed Mar 16 12:59:06 2016 (r411231) @@ -0,0 +1,84 @@ +# Created by: Ryan Melcer <rmelcer@iteris.com> +# $FreeBSD$ + +PORTNAME= mapcache +DISTVERSION= 1.4.0-94 +DISTVERSIONSUFFIX= -g732b3fd +CATEGORIES= graphics + +MAINTAINER= gf-admins@iteris.com +COMMENT= Server that implements tile caching to speed up access to WMS layers + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ + libapr-1.so:${PORTSDIR}/devel/apr1 \ + libaprutil-1.so:${PORTSDIR}/devel/apr1 \ + libpixman-1.so:${PORTSDIR}/x11/pixman + +USE_GITHUB= yes +GH_ACCOUNT= mapserver + +USES= cmake:outsource jpeg localbase +USE_LDCONFIG= yes +CMAKE_ARGS+= -DWITH_OGR=1 -DWITH_PIXMAN=1 -DWITH_BERKELEY_DB=0 + +OPTIONS_DEFINE= APACHE FASTCGI SQLITE MEMCACHE TIFF TIFF_WRITE \ + GEOTIFF PCRE GDAL GEOS +OPTIONS_DEFAULT= APACHE FASTCGI SQLITE GEOS GDAL +OPTIONS_SUB= yes + +APACHE_DESC= Native apache module +APACHE_USE= APACHE=22+ +APACHE_CMAKE_ON= -DWITH_APACHE=1 +APACHE_CMAKE_OFF= -DWITH_APACHE=0 + +FASTCGI_LIB_DEPENDS= libfcgi.so:${PORTSDIR}/www/fcgi +FASTCGI_CMAKE_ON= -DWITH_FCGI=1 +FASTCGI_CMAKE_OFF= -DWITH_FCGI=0 + +SQLITE_DESC= Use sqlite as a cache backend +SQLITE_LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 +SQLITE_CMAKE_ON= -DWITH_SQLITE=1 +SQLITE_CMAKE_OFF= -DWITH_SQLITE=0 + +MEMCACHE_DESC= Use memcache as a cache backend +MEMCACHE_CMAKE_ON= -DWITH_MEMCACHE=1 +MEMCACHE_CMAKE_OFF= -DWITH_MEMCACHE=0 + +TIFF_DESC= Use TIFFs as a cache backend +TIFF_LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff +TIFF_CMAKE_ON= -DWITH_TIFF=1 +TIFF_CMAKE_OFF= -DWITH_TIFF=0 + +TIFF_WRITE_DESC= Support for writable TIFF cache backends (implies TIFF) +TIFF_WRITE_LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff +TIFF_WRITE_CMAKE_ON= -DWITH_TIFF_WRITE_SUPPORT=1 +TIFF_WRITE_CMAKE_OFF= -DWITH_TIFF_WRITE_SUPPORT=0 +TIFF_WRITE_IMPLIES= TIFF + +GEOTIFF_DESC= GeoTIFF metadata creation for TIFF cache backends +GEOTIFF_LIB_DEPENDS= libgeotiff.so:${PORTSDIR}/graphics/libgeotiff +GEOTIFF_CMAKE_ON= -DWITH_GEOTIFF=1 +GEOTIFF_CMAKE_OFF= -DWITH_GEOTIFF=0 + +PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre +PCRE_CMAKE_ON= -DWITH_PCRE=1 +PCRE_CMAKE_OFF= -DWITH_PCRE=0 + +GDAL_DESC= GDAL library support +GDAL_LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal +GDAL_CMAKE_ON= -DWITH_GDAL=1 -DWITH_OGR=1 +GDAL_CMAKE_OFF= -DWITH_GDAL=0 -DWITH_OGR=0 + +GEOS_LIB_DEPENDS= libgeos_c.so:${PORTSDIR}/graphics/geos +GEOS_CMAKE_ON= -DWITH_GEOS=1 +GEOS_CMAKE_OFF= -DWITH_GEOS=0 + +post-patch: + @${REINPLACE_CMD} -e 's|PATH_SUFFIXES|PATH_SUFFIXES \ + ${APACHE_SUPPORTED_VERSION:S/^/apache&/}|g' \ + ${WRKSRC}/cmake/FindAPACHE.cmake + +.include <bsd.port.mk> Added: head/graphics/mapcache/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/mapcache/distinfo Wed Mar 16 12:59:06 2016 (r411231) @@ -0,0 +1,2 @@ +SHA256 (mapserver-mapcache-1.4.0-94-g732b3fd_GH0.tar.gz) = 93e1da0d0686220c92746d43b7b7a16e035e67c82f56ddbe1fe5b80c62c18bf7 +SIZE (mapserver-mapcache-1.4.0-94-g732b3fd_GH0.tar.gz) = 294537 Added: head/graphics/mapcache/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/mapcache/pkg-descr Wed Mar 16 12:59:06 2016 (r411231) @@ -0,0 +1,6 @@ +MapCache is a server that implements tile caching to speed up access +to WMS layers. It's primary objectives are to be fast and easily +deployable, while offering the essential features (and more!) expected +from a tile caching solution. + +WWW: http://www.mapserver.org/mapcache/ Added: head/graphics/mapcache/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/mapcache/pkg-plist Wed Mar 16 12:59:06 2016 (r411231) @@ -0,0 +1,6 @@ +bin/mapcache.fcgi +bin/mapcache_seed +lib/libmapcache.so +lib/libmapcache.so.1 +lib/libmapcache.so.1.5dev +%%APACHE%%%%APACHEMODDIR%%/mod_%%AP_MODULE%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603161259.u2GCx6h4067874>