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/
This commit is contained in:
parent
7082dfb47f
commit
37f735d129
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=411231
5 changed files with 99 additions and 0 deletions
|
@ -579,6 +579,7 @@
|
|||
SUBDIR += maim
|
||||
SUBDIR += makehuman
|
||||
SUBDIR += mandelbulber
|
||||
SUBDIR += mapcache
|
||||
SUBDIR += mapnik
|
||||
SUBDIR += mapserver
|
||||
SUBDIR += mapyrus
|
||||
|
|
84
graphics/mapcache/Makefile
Normal file
84
graphics/mapcache/Makefile
Normal file
|
@ -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>
|
2
graphics/mapcache/distinfo
Normal file
2
graphics/mapcache/distinfo
Normal file
|
@ -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
|
6
graphics/mapcache/pkg-descr
Normal file
6
graphics/mapcache/pkg-descr
Normal file
|
@ -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/
|
6
graphics/mapcache/pkg-plist
Normal file
6
graphics/mapcache/pkg-plist
Normal file
|
@ -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%%
|
Loading…
Reference in a new issue