[111833] trunk/dports/gis/qgis/Portfile
vince at macports.org
vince at macports.org
Wed Oct 2 23:43:51 PDT 2013
Revision: 111833
https://trac.macports.org/changeset/111833
Author: vince at macports.org
Date: 2013-10-02 23:43:51 -0700 (Wed, 02 Oct 2013)
Log Message:
-----------
Correct tabs/spaces
Modified Paths:
--------------
trunk/dports/gis/qgis/Portfile
Modified: trunk/dports/gis/qgis/Portfile
===================================================================
--- trunk/dports/gis/qgis/Portfile 2013-10-03 06:40:22 UTC (rev 111832)
+++ trunk/dports/gis/qgis/Portfile 2013-10-03 06:43:51 UTC (rev 111833)
@@ -31,9 +31,9 @@
patchfiles patch-qgsmapcanvas_h.diff \
patch-qgsmaplayerregistry_h.diff \
- patch-qgsfieldvalidator_sip.diff \
- patch-qgsattributedialog_h.diff \
- patch-qgsmessagelogviewer_h.diff
+ patch-qgsfieldvalidator_sip.diff \
+ patch-qgsattributedialog_h.diff \
+ patch-qgsmessagelogviewer_h.diff
worksrcdir ${name}-${version}
@@ -63,7 +63,7 @@
}
if {![variant_isset python26] && ![variant_isset python27]} {
-
+
default_variants +python27
}
@@ -84,18 +84,18 @@
depends_run-append port:py26-psycopg2 \
port:py26-spatialite
- set Py_FRM ${frameworks_dir}/Python.framework/Versions/2.6
+ set Py_FRM ${frameworks_dir}/Python.framework/Versions/2.6
configure.args-append "-DPYTHON_EXECUTABLE=${prefix}/bin/python2.6"
configure.args-append "-DPYUIC4_PROGRAM=${prefix}/bin/pyuic4-2.6"
configure.args-append "-DPYRCC4_PROGRAM=${prefix}/bin/pyrcc4-2.6"
- configure.args-append "-DPYTHON_CUSTOM_FRAMEWORK=${Py_FRM}"
+ configure.args-append "-DPYTHON_CUSTOM_FRAMEWORK=${Py_FRM}"
configure.args-append "-DSIP_BINARY_PATH=${Py_FRM}/bin/sip-2.6"
pre-configure {
- reinplace -E "s|Versions/Current|Versions/2.6|" \
- ${worksrcpath}/cmake/FindPythonLibrary.cmake
- }
+ reinplace -E "s|Versions/Current|Versions/2.6|" \
+ ${worksrcpath}/cmake/FindPythonLibrary.cmake
+ }
}
variant python27 conflicts python26 \
@@ -107,18 +107,18 @@
depends_run-append port:py27-psycopg2 \
port:py27-spatialite
- set Py_FRM ${frameworks_dir}/Python.framework/Versions/2.7
+ set Py_FRM ${frameworks_dir}/Python.framework/Versions/2.7
configure.args-append "-DPYTHON_EXECUTABLE=${prefix}/bin/python2.7"
configure.args-append "-DPYUIC4_PROGRAM=${prefix}/bin/pyuic4-2.7"
configure.args-append "-DPYRCC4_PROGRAM=${prefix}/bin/pyrcc4-2.7"
- configure.args-append "-DPYTHON_CUSTOM_FRAMEWORK=${Py_FRM}"
+ configure.args-append "-DPYTHON_CUSTOM_FRAMEWORK=${Py_FRM}"
configure.args-append "-DSIP_BINARY_PATH=${prefix}/bin/sip-2.7"
- pre-configure {
- reinplace -E "s|Versions/Current|Versions/2.7|" \
- ${worksrcpath}/cmake/FindPythonLibrary.cmake
- }
+ pre-configure {
+ reinplace -E "s|Versions/Current|Versions/2.7|" \
+ ${worksrcpath}/cmake/FindPythonLibrary.cmake
+ }
}
variant postgresql91 conflicts postgresql92 postgresql93 \
@@ -156,7 +156,7 @@
variant postgis2 description "Build postgis 2.x support" \
conflicts postgis {
-
+
depends_lib-append port:postgis2
}
@@ -167,7 +167,7 @@
"-DGRASS_PREFIX=${prefix}/share/grass-6.4.2"
}
-configure.dir ${worksrcpath}/build
+configure.dir ${worksrcpath}/build
configure.cmd cmake ..
configure.args-append "-DCMAKE_CXX_COMPILER=${configure.cxx}"
@@ -187,7 +187,7 @@
configure.args-append \
"-DSPATIALINDEX_LIBRARY=${prefix}/lib/libspatialindex.dylib"
configure.args-append "-DCMAKE_BUILD_TYPE=Release"
-
+
use_parallel_build yes
build.dir ${worksrcpath}/build
destroot.target install
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131002/d7c25757/attachment-0001.html>
More information about the macports-changes
mailing list