aboutsummaryrefslogtreecommitdiff
path: root/graphics/mapnik
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2013-06-03 20:39:41 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2013-06-03 20:39:41 +0000
commit30a9c8500cd97645b0fa15b098d438cc12c8c814 (patch)
tree3846bf873684657cd2cdae823f8058c00ce8a5bd /graphics/mapnik
parentfe2b2351bd989cf3002651166d4d1dddb8e5cab0 (diff)
downloadports-30a9c8500cd97645b0fa15b098d438cc12c8c814.tar.gz
ports-30a9c8500cd97645b0fa15b098d438cc12c8c814.zip
Notes
Diffstat (limited to 'graphics/mapnik')
-rw-r--r--graphics/mapnik/Makefile9
-rw-r--r--graphics/mapnik/files/patch-plugins-input-python-build.py12
-rw-r--r--graphics/mapnik/pkg-descr2
3 files changed, 17 insertions, 6 deletions
diff --git a/graphics/mapnik/Makefile b/graphics/mapnik/Makefile
index 24ca0e3a94dd..467d0492ae63 100644
--- a/graphics/mapnik/Makefile
+++ b/graphics/mapnik/Makefile
@@ -3,8 +3,8 @@
PORTNAME= mapnik
PORTVERSION= 2.1.0
-PORTREVISION= 2
DISTVERSIONPREFIX= v
+PORTREVISION= 3
CATEGORIES= graphics geography
MASTER_SITES= http://cloud.github.com/downloads/${PORTNAME}/${PORTNAME}/
@@ -22,16 +22,15 @@ LIB_DEPENDS= proj:${PORTSDIR}/graphics/proj \
boost_system:${PORTSDIR}/devel/boost-libs \
boost_python:${PORTSDIR}/devel/boost-python-libs
BUILD_DEPENDS= ${LOCALBASE}/bin/freetype-config:${PORTSDIR}/print/freetype2 \
- icu>=4.2:${PORTSDIR}/devel/icu \
- ${PYTHON_PKGNAMEPREFIX}icu>=0.8.1:${PORTSDIR}/devel/py-icu \
- boost-libs>=1.47:${PORTSDIR}/devel/boost-libs \
+ ${PYTHON_PKGNAMEPREFIX}icu>=0.8.1:${PORTSDIR}/devel/py-icu
USE_BZIP2= yes
USE_PYTHON= 2.6+
USE_LDCONFIG= yes
USE_SCONS= yes
USE_AUTOTOOLS= libltdl
-USE_GNOME= pkgconfig libxml2
+USES= pkgconfig
+USE_GNOME= libxml2
MAKE_JOBS_SAFE= yes
WARNING_CXXFLAGS?= -w
diff --git a/graphics/mapnik/files/patch-plugins-input-python-build.py b/graphics/mapnik/files/patch-plugins-input-python-build.py
new file mode 100644
index 000000000000..13791b33edae
--- /dev/null
+++ b/graphics/mapnik/files/patch-plugins-input-python-build.py
@@ -0,0 +1,12 @@
+--- plugins/input/python/build.py.orig 2013-06-02 20:28:29.000000000 +0400
++++ plugins/input/python/build.py 2013-06-02 20:29:34.000000000 +0400
+@@ -68,6 +68,9 @@
+ LINKFLAGS=linkflags
+ )
+
++# if the plugin links to libmapnik ensure it is built first
++Depends(TARGET, env.subst('../../../src/%s' % env['MAPNIK_LIB_NAME']))
++
+ # if 'uninstall' is not passed on the command line
+ # then we actually create the install targets that
+ # scons will install if 'install' is passed as an arg
diff --git a/graphics/mapnik/pkg-descr b/graphics/mapnik/pkg-descr
index 7a59c514f313..499f9f4ead89 100644
--- a/graphics/mapnik/pkg-descr
+++ b/graphics/mapnik/pkg-descr
@@ -12,4 +12,4 @@ access, regular expressions, parsing and so on, Mapnik doesn't re-invent
the wheel, but utilizes best of breed industry standard libraries from
boost.org.
-WWW: http://www.mapnik.org/
+WWW: http://www.mapnik.org/