[135506] trunk/dports/python/py26-mapnik
ryandesign at macports.org
ryandesign at macports.org
Fri Apr 24 19:20:22 PDT 2015
Revision: 135506
https://trac.macports.org/changeset/135506
Author: ryandesign at macports.org
Date: 2015-04-24 19:20:22 -0700 (Fri, 24 Apr 2015)
Log Message:
-----------
py26-mapnik: replaced_by mapnik (#37995)
Modified Paths:
--------------
trunk/dports/python/py26-mapnik/Portfile
Removed Paths:
-------------
trunk/dports/python/py26-mapnik/files/
Modified: trunk/dports/python/py26-mapnik/Portfile
===================================================================
--- trunk/dports/python/py26-mapnik/Portfile 2015-04-25 02:18:04 UTC (rev 135505)
+++ trunk/dports/python/py26-mapnik/Portfile 2015-04-25 02:20:22 UTC (rev 135506)
@@ -3,139 +3,10 @@
PortSystem 1.0
+replaced_by mapnik
+PortGroup obsolete 1.0
+
name py26-mapnik
-version 0.7.1
-revision 14
+version 3.0.0-rc1
categories python gis
-platforms darwin
-maintainers nomaintainer
-
-homepage http://mapnik.org/
-master_sites http://download.berlios.de/mapnik/ \
- http://download2.berlios.de/mapnik/
-
-distname mapnik-${version}
-worksrcdir mapnik-${version}
-
-checksums md5 8f65fda2a792518d6f6be8a85f62fc73 \
- sha1 a1961f6dfe5d591d5a892bef05d58e66537440c4 \
- rmd160 9e4180e901dfaf255091843869e9441d7a08209f
-
-use_bzip2 yes
-
-universal_variant no
-
-description Open Source C++/Python mapping toolkit.
-long_description \
- Mapnik is a Open Source tookit for developing mapping \
- applications. It is written in C++ and there are \
- Python bindings to facilitate fast-paced agile \
- development. It can comfortably be used for both \
- desktop and web development. \
- Mapnik is about making beautiful maps. It uses the \
- AGG library and offers world class anti-aliasing \
- rendering with subpixel accuracy for geographic \
- data. It is written from scratch in modern C++ and \
- does not suffer from design decisions made a decade \
- ago. When it comes to handling common software tasks \
- such as memory management, filesystem access, \
- regular expressions, parsing and so on, Mapnik \
- does not re-invent the wheel, but utilises best of \
- breed industry standard libraries from boost.org.
-
-depends_lib port:boost \
- port:libpng \
- port:jpeg \
- port:tiff \
- port:icu \
- port:zlib \
- port:freetype \
- port:proj \
- port:libxml2 \
- port:python26
-
-patchfiles patch-boost-filesystem3.diff
-
-set python "${prefix}/bin/python2.6"
-
-configure.pkg_config ${prefix}/bin/pkg-config
-
-variant cairo description {Builds port with Cairo Support} {
- depends_lib-append path:lib/pkgconfig/cairomm-1.0.pc:cairomm
- depends_lib-append port:py26-cairo
- configure.args-delete CAIRO=False
- configure.args-append CAIRO=True
- configure.args-append PKG_CONFIG_PATH=${prefix}/lib/pkgconfig:${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/pkgconfig/
-}
-
-variant postgis description {Builds port with PostGIS plugin} {
- depends_lib-append port:postgresql84
- depends_lib-append port:postgresql84-server
- depends_lib-append port:postgis
- configure.args-append PG_CONFIG=${prefix}/lib/postgresql84/bin/pg_config
-}
-
-variant gdal description {Builds port with GDAL/OGR plugin} {
- depends_lib-append port:gdal
- configure.args-append GDAL_CONFIG=${prefix}/bin/gdal-config
-}
-
-variant sqlite description {Builds port with SQLite3 plugin} {
- depends_lib-append port:sqlite3
- configure.args-append SQLITE_INCLUDES=${prefix}/include \
- SQLITE_LIBS=${prefix}/lib
-}
-
-use_parallel_build yes
-
-if {![file exists ${prefix}/lib/libboost_python-mt.dylib]} {
- depends_lib-delete port:boost
- pre-configure {
- ui_error "
-****
-**** ${name} requires port boost installed with variant +python26.
-**** Please do the following then try installing ${name} again:
-****
-**** sudo port install boost +python26
-****
-
-"
- return -code error "incompatible boost installation"
- }
-}
-
-configure.args PREFIX=${prefix} \
- CAIRO=False \
- OPTIMIZATION=3 \
- FRAMEWORK_PYTHON=False \
- INPUT_PLUGINS=shape,raster,ogr,postgis,gdal,sqlite \
- PYTHON=${python} \
- FREETYPE_CONFIG=${prefix}/bin/freetype-config \
- XML2_CONFIG=${prefix}/bin/xml2-config \
- BOOST_INCLUDES=${prefix}/include \
- BOOST_LIBS=${prefix}/lib \
- SQLITE_INCLUDES=${prefix}/include \
- SQLITE_LIBS=${prefix}/lib \
- ICU_INCLUDES=${prefix}/include \
- ICU_LIBS=${prefix}/lib \
- PNG_INCLUDES=${prefix}/include \
- PNG_LIBS=${prefix}/lib \
- JPEG_INCLUDES=${prefix}/include \
- JPEG_LIBS=${prefix}/lib \
- TIFF_INCLUDES=${prefix}/include \
- TIFF_LIBS=${prefix}/lib \
- PROJ_INCLUDES=${prefix}/include \
- PROJ_LIBS=${prefix}/lib \
- DESTDIR=${destroot}
-
-configure {
- system "cd ${worksrcpath} && ${python} scons/scons.py ${configure.args} configure"
-}
-
-build {
- system "cd ${worksrcpath} && ${python} scons/scons.py"
-}
-
-destroot {
- system "cd ${worksrcpath} && ${python} scons/scons.py install"
-}
+license LGPL-2.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150424/b69432b1/attachment-0001.html>
More information about the macports-changes
mailing list