diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2011-10-27 22:57:30 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2011-10-27 22:57:30 +0000 |
commit | b21965d5e2376a405d9b75063304f26298e3a69b (patch) | |
tree | 731e88c804204b08586ce788659ccb9d59056c90 /graphics/tilecache | |
parent | ee6cac64032a438e7eb703e4521e41fbce15dc8b (diff) | |
download | ports-b21965d5e2376a405d9b75063304f26298e3a69b.tar.gz ports-b21965d5e2376a405d9b75063304f26298e3a69b.zip |
Notes
Diffstat (limited to 'graphics/tilecache')
-rw-r--r-- | graphics/tilecache/Makefile | 42 | ||||
-rw-r--r-- | graphics/tilecache/distinfo | 2 | ||||
-rw-r--r-- | graphics/tilecache/files/patch-setup.py | 12 | ||||
-rw-r--r-- | graphics/tilecache/pkg-descr | 4 | ||||
-rw-r--r-- | graphics/tilecache/pkg-plist | 122 |
5 files changed, 182 insertions, 0 deletions
diff --git a/graphics/tilecache/Makefile b/graphics/tilecache/Makefile new file mode 100644 index 000000000000..2e9e771f2f6d --- /dev/null +++ b/graphics/tilecache/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: tilecache +# Date created: 2011-10-18 +# Whom: joris +# +# $FreeBSD$ +# + +PORTNAME= tilecache +PORTVERSION= 2.11 +CATEGORIES= graphics python geography www +MASTER_SITES= http://tilecache.org/ + +MAINTAINER= joris.dedieu@gmail.com +COMMENT= Python-based WMS-C/TMS server + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup \ + ${PYTHON_PKGNAMEPREFIX}Paste>0:${PORTSDIR}/www/py-paste + +LICENCE= BSD + +USE_PYTHON= 2.5+ +USE_PYDISTUTILS= easy_install +PYDISTUTILS_PKGNAME= TileCache + +FILES_ETC= TileCache/Service.py setup.py tilecache_install_config.py + +post-patch: + @cd ${WRKSRC}; \ + ${REINPLACE_CMD} -e 's|/etc|${ETCDIR}|' ${FILES_ETC}; + +pre-install: + ${MKDIR} ${ETCDIR} + +post-install: + ${MKDIR} ${LOCALBASE}/www/cgi-bin + ${REINPLACE_CMD} -e 's|/usr/bin/python|/usr/bin/env python|' ${WRKSRC}/tilecache.cgi + ${INSTALL_SCRIPT} ${WRKSRC}/tilecache.cgi ${LOCALBASE}/www/cgi-bin/tilecache.cgi + ${REINPLACE_CMD} -e 's|/usr/bin/python|/usr/bin/env python|' ${WRKSRC}/tilecache.fcgi + ${INSTALL_SCRIPT} ${WRKSRC}/tilecache.fcgi ${LOCALBASE}/www/cgi-bin/tilecache.fcgi + ${INSTALL_DATA} ${WRKSRC}/tilecache.cfg ${ETCDIR}/tilecache.cfg.sample + +.include <bsd.port.mk> diff --git a/graphics/tilecache/distinfo b/graphics/tilecache/distinfo new file mode 100644 index 000000000000..c776c0c4ac76 --- /dev/null +++ b/graphics/tilecache/distinfo @@ -0,0 +1,2 @@ +SHA256 (tilecache-2.11.tar.gz) = b46dc2731a19b40e3207cf3c9b43ea59b899a622a586aaa3c397c3b5aa00f887 +SIZE (tilecache-2.11.tar.gz) = 68705 diff --git a/graphics/tilecache/files/patch-setup.py b/graphics/tilecache/files/patch-setup.py new file mode 100644 index 000000000000..44638c915e91 --- /dev/null +++ b/graphics/tilecache/files/patch-setup.py @@ -0,0 +1,12 @@ +--- setup.py.orig 2011-10-18 15:02:11.000000000 +0200 ++++ setup.py 2011-10-18 15:02:47.000000000 +0200 +@@ -39,8 +35,7 @@ + url='http://tilecache.org/', + long_description=readme, + packages=['TileCache', 'TileCache.Caches', 'TileCache.Services', 'TileCache.Layers'], +- scripts=['tilecache.cgi', 'tilecache.fcgi', +- 'tilecache_seed.py', 'tilecache_install_config.py', ++ scripts=['tilecache_seed.py', 'tilecache_install_config.py', + 'tilecache_clean.py', 'tilecache_http_server.py'], + zip_safe=False, + test_suite = 'tests.run_doc_tests', diff --git a/graphics/tilecache/pkg-descr b/graphics/tilecache/pkg-descr new file mode 100644 index 000000000000..41a81c25df56 --- /dev/null +++ b/graphics/tilecache/pkg-descr @@ -0,0 +1,4 @@ +TileCache provides a Python-based WMS-C/TMS server, with pluggable +caching mechanisms and rendering backends. + +WWW: http://tilecache.org/ diff --git a/graphics/tilecache/pkg-plist b/graphics/tilecache/pkg-plist new file mode 100644 index 000000000000..f71b204b47b0 --- /dev/null +++ b/graphics/tilecache/pkg-plist @@ -0,0 +1,122 @@ +bin/tilecache_clean.py +bin/tilecache_http_server.py +bin/tilecache_install_config.py +bin/tilecache_seed.py +%%ETCDIR%%/tilecache.cfg.sample +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts/tilecache_clean.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts/tilecache_http_server.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts/tilecache_install_config.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts/tilecache_seed.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Cache.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Cache.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Cache.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/AWSS3.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/AWSS3.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/AWSS3.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/Disk.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/Disk.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/Disk.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/GoogleDisk.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/GoogleDisk.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/GoogleDisk.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/MBTiles.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/MBTiles.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/MBTiles.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/Memcached.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/Memcached.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/Memcached.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/S3.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/S3.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/S3.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/Test.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/Test.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/Test.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Client.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Client.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Client.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layer.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layer.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layer.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/ArcXML.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/ArcXML.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/ArcXML.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/GDAL.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/GDAL.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/GDAL.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/Image.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/Image.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/Image.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/MapServer.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/MapServer.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/MapServer.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/Mapnik.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/Mapnik.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/Mapnik.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/WMS.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/WMS.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/WMS.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Service.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Service.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Service.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/JSON.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/JSON.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/JSON.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/KML.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/KML.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/KML.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/MGMaps.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/MGMaps.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/MGMaps.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/TMS.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/TMS.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/TMS.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/TileService.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/TileService.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/TileService.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/VETMS.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/VETMS.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/VETMS.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/WMS.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/WMS.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/WMS.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/WMTS.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/WMTS.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/WMTS.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/WorldWind.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/WorldWind.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/WorldWind.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Swarm.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Swarm.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Swarm.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/tilecache.cfg +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dev.ini +www/cgi-bin/tilecache.cgi +www/cgi-bin/tilecache.fcgi +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Services +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Layers +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache/Caches +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/TileCache +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% +@dirrmtry %%PYTHON_SITELIBDIR%% +@dirrmtry %%ETCDIR%% +@dirrmtry www/cgi-bin |