[98386] trunk/dports/gis/mapnik/Portfile
stromnov at macports.org
stromnov at macports.org
Wed Oct 3 23:16:02 PDT 2012
Revision: 98386
http://trac.macports.org//changeset/98386
Author: stromnov at macports.org
Date: 2012-10-03 23:16:02 -0700 (Wed, 03 Oct 2012)
Log Message:
-----------
mapnik: small adjustments
Modified Paths:
--------------
trunk/dports/gis/mapnik/Portfile
Modified: trunk/dports/gis/mapnik/Portfile
===================================================================
--- trunk/dports/gis/mapnik/Portfile 2012-10-04 01:11:40 UTC (rev 98385)
+++ trunk/dports/gis/mapnik/Portfile 2012-10-04 06:16:02 UTC (rev 98386)
@@ -5,7 +5,7 @@
name mapnik
version 2.1.0
-revision 0
+revision 1
categories gis devel
license LGPL-2.1
platforms darwin
@@ -31,7 +31,6 @@
conflicts py26-mapnik
distname mapnik-v${version}
-worksrcdir mapnik-v${version}
use_bzip2 yes
@@ -126,7 +125,14 @@
configure.pkg_config ${prefix}/bin/pkg-config
-configure.python /usr/bin/python
+if {[variant_isset python26]} {
+ configure.python ${prefix}/bin/python2.6
+} elseif {[variant_isset python27]} {
+ configure.python ${prefix}/bin/python2.7
+} else {
+ configure.python /usr/bin/python
+}
+
build.cmd ${configure.python} scons/scons.py
build.pre_args
use_parallel_build yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121003/1b5ea216/attachment.html>
More information about the macports-changes
mailing list