d03d7cd60d
TileCache provides a Python-based WMS-C/TMS server, with pluggable caching mechanisms and rendering backends. In the simplest use case, TileCache requires only write access to a disk, the ability to run Python CGI scripts, and a WMS you want to be cached. With these resources, you can create your own local disk-based cache of any WMS server, and use the result in any WMS-C supporting client, like OpenLayers, or any TMS supporting client, like OpenLayers and worldKit.
34 lines
724 B
Makefile
34 lines
724 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2009/11/06 18:44:45 landry Exp $
|
|
|
|
COMMENT = tile caching frontend for WMS/TMS services
|
|
|
|
MODPY_EGG_VERSION = 2.10
|
|
DISTNAME = tilecache-${MODPY_EGG_VERSION}
|
|
|
|
CATEGORIES = geo graphics
|
|
|
|
HOMEPAGE = http://tilecache.org/
|
|
MAINTAINER = Landry Breuil <gaston@gcu.info>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = ${HOMEPAGE}
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_SETUPTOOLS = Yes
|
|
RUN_DEPENDS = ::graphics/py-Imaging
|
|
|
|
post-configure:
|
|
${SUBST_CMD} ${WRKSRC}/setup.py
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT_DIR} ${PREFIX}/libexec/tilecache/
|
|
mv ${PREFIX}/bin/tilecache.{f,}cgi ${PREFIX}/libexec/tilecache/
|
|
|
|
.include <bsd.port.mk>
|