[134504] trunk/dports/gis/grass/Portfile
mojca at macports.org
mojca at macports.org
Fri Mar 27 12:54:27 PDT 2015
Revision: 134504
https://trac.macports.org/changeset/134504
Author: mojca at macports.org
Date: 2015-03-27 12:54:27 -0700 (Fri, 27 Mar 2015)
Log Message:
-----------
grass: whitespace only
Modified Paths:
--------------
trunk/dports/gis/grass/Portfile
Modified: trunk/dports/gis/grass/Portfile
===================================================================
--- trunk/dports/gis/grass/Portfile 2015-03-27 19:48:17 UTC (rev 134503)
+++ trunk/dports/gis/grass/Portfile 2015-03-27 19:54:27 UTC (rev 134504)
@@ -1,55 +1,55 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=2:ts=2:sts=2
# $Id$
-PortSystem 1.0
-PortGroup wxWidgets 1.0
-PortGroup active_variants 1.1
+PortSystem 1.0
+PortGroup wxWidgets 1.0
+PortGroup active_variants 1.1
-name grass
-version 6.4.3
-revision 5
-epoch 1
-maintainers nomaintainer
-categories gis
-license GPL-2+
-platforms darwin
+name grass
+version 6.4.3
+revision 5
+epoch 1
+maintainers nomaintainer
+categories gis
+license GPL-2+
+platforms darwin
-description GRASS
-long_description GRASS is a Geographic Information System (GIS) used for \
- geospatial data management and analysis.
+description GRASS
+long_description GRASS is a Geographic Information System (GIS) used for \
+ geospatial data management and analysis.
-homepage http://grass.osgeo.org/
-master_sites ${homepage}grass[join [lrange [split ${version} .] 0 1] {}]/source/
+homepage http://grass.osgeo.org/
+master_sites ${homepage}grass[join [lrange [split ${version} .] 0 1] {}]/source/
-checksums rmd160 bdbd671972730701aa8213c2041abe31a68eea4c \
- sha256 5d29d322a262330894aa046845e6790258cd6e3f95b28c350ed7839810672ed6
+checksums rmd160 bdbd671972730701aa8213c2041abe31a68eea4c \
+ sha256 5d29d322a262330894aa046845e6790258cd6e3f95b28c350ed7839810672ed6
-depends_build port:pkgconfig
-depends_lib port:fftw-3 \
- port:freetype \
- port:gdal \
- port:geos \
- port:jpeg \
- port:libpng \
- port:mesa \
- lib:libXm:openmotif \
- port:proj47 \
- port:tk \
- path:lib/pkgconfig/cairo.pc:cairo \
- port:readline
+depends_build port:pkgconfig
+depends_lib port:fftw-3 \
+ port:freetype \
+ port:gdal \
+ port:geos \
+ port:jpeg \
+ port:libpng \
+ port:mesa \
+ lib:libXm:openmotif \
+ port:proj47 \
+ port:tk \
+ path:lib/pkgconfig/cairo.pc:cairo \
+ port:readline
# https://trac.macports.org/ticket/32790
# this should probably only apply to some Xcode versions
# compiler.blacklist *clang*
-patchfiles \
- patch-configure.diff \
- patch-gui-wxpython-core-globalvar.py.diff \
- patch-gui-wxpython-gui_core-ghelp.py.diff \
- patch-is_void.diff \
- patch-lib-init-grass.src.diff \
- patch-macosx_Makefile.diff \
- patch-Makefile.diff \
- patch-ffmpeg.diff
+patchfiles patch-configure.diff \
+ patch-gui-wxpython-core-globalvar.py.diff \
+ patch-gui-wxpython-gui_core-ghelp.py.diff \
+ patch-is_void.diff \
+ patch-lib-init-grass.src.diff \
+ patch-macosx_Makefile.diff \
+ patch-Makefile.diff \
+ patch-ffmpeg.diff
post-patch {
reinplace "s|@@APPLICATIONS_DIR@@|${applications_dir}|" ${worksrcpath}/configure
@@ -245,86 +245,86 @@
build.target default
variant mysql5 description {Add MySQL 5 support} {
- depends_lib-append path:bin/mysql_config5:mysql5
- configure.args-append --with-mysql
- configure.args-append --with-mysql-includes=${prefix}/include/mysql5/mysql
- configure.args-append --with-mysql-libs=${prefix}/lib/mysql5/mysql
- configure.env-append MYSQLD_CONFIG=${prefix}/lib/mysql5/bin/mysql_config
+ depends_lib-append path:bin/mysql_config5:mysql5
+ configure.args-append --with-mysql
+ configure.args-append --with-mysql-includes=${prefix}/include/mysql5/mysql
+ configure.args-append --with-mysql-libs=${prefix}/lib/mysql5/mysql
+ configure.env-append MYSQLD_CONFIG=${prefix}/lib/mysql5/bin/mysql_config
}
variant postgresql83 conflicts postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 description {Add PostgreSQL 8.3 support} {
- depends_lib-append port:postgresql83
- configure.args-delete --without-postgres
- configure.args-append --with-postgres
- configure.args-append --with-postgres-includes=${prefix}/include/postgresql83
- configure.args-append --with-postgres-libs=${prefix}/lib/postgresql83
+ depends_lib-append port:postgresql83
+ configure.args-delete --without-postgres
+ configure.args-append --with-postgres
+ configure.args-append --with-postgres-includes=${prefix}/include/postgresql83
+ configure.args-append --with-postgres-libs=${prefix}/lib/postgresql83
}
variant postgresql84 conflicts postgresql83 postgresql90 postgresql91 postgresql92 postgresql93 description {Add PostgreSQL 8.4 support} {
- depends_lib-append port:postgresql84
- configure.args-delete --without-postgres
- configure.args-append --with-postgres
- configure.args-append --with-postgres-includes=${prefix}/include/postgresql84
- configure.args-append --with-postgres-libs=${prefix}/lib/postgresql84
+ depends_lib-append port:postgresql84
+ configure.args-delete --without-postgres
+ configure.args-append --with-postgres
+ configure.args-append --with-postgres-includes=${prefix}/include/postgresql84
+ configure.args-append --with-postgres-libs=${prefix}/lib/postgresql84
}
variant postgresql90 conflicts postgresql83 postgresql84 postgresql91 postgresql92 postgresql93 description {Add PostgreSQL 9.0 support} {
- depends_lib-append port:postgresql90
- configure.args-delete --without-postgres
- configure.args-append --with-postgres
- configure.args-append --with-postgres-includes=${prefix}/include/postgresql90
- configure.args-append --with-postgres-libs=${prefix}/lib/postgresql90
+ depends_lib-append port:postgresql90
+ configure.args-delete --without-postgres
+ configure.args-append --with-postgres
+ configure.args-append --with-postgres-includes=${prefix}/include/postgresql90
+ configure.args-append --with-postgres-libs=${prefix}/lib/postgresql90
}
variant postgresql91 conflicts postgresql83 postgresql84 postgresql90 postgresql92 postgresql93 description {Add PostgreSQL 9.1 support} {
- depends_lib-append port:postgresql91
- configure.args-delete --without-postgres
- configure.args-append --with-postgres
- configure.args-append --with-postgres-includes=${prefix}/include/postgresql91
- configure.args-append --with-postgres-libs=${prefix}/lib/postgresql91
+ depends_lib-append port:postgresql91
+ configure.args-delete --without-postgres
+ configure.args-append --with-postgres
+ configure.args-append --with-postgres-includes=${prefix}/include/postgresql91
+ configure.args-append --with-postgres-libs=${prefix}/lib/postgresql91
}
variant postgresql92 conflicts postgresql83 postgresql84 postgresql90 postgresql91 postgresql93 description {Add PostgreSQL 9.2 support} {
- depends_lib-append port:postgresql92
- configure.args-delete --without-postgres
- configure.args-append --with-postgres
- configure.args-append --with-postgres-includes=${prefix}/include/postgresql92
- configure.args-append --with-postgres-libs=${prefix}/lib/postgresql92
+ depends_lib-append port:postgresql92
+ configure.args-delete --without-postgres
+ configure.args-append --with-postgres
+ configure.args-append --with-postgres-includes=${prefix}/include/postgresql92
+ configure.args-append --with-postgres-libs=${prefix}/lib/postgresql92
}
variant postgresql93 conflicts postgresql83 postgresql84 postgresql90 postgresql91 postgresql92 description {Add PostgreSQL 9.3 support} {
- depends_lib-append port:postgresql93
- configure.args-delete --without-postgres
- configure.args-append --with-postgres
- configure.args-append --with-postgres-includes=${prefix}/include/postgresql93
- configure.args-append --with-postgres-libs=${prefix}/lib/postgresql93
+ depends_lib-append port:postgresql93
+ configure.args-delete --without-postgres
+ configure.args-append --with-postgres
+ configure.args-append --with-postgres-includes=${prefix}/include/postgresql93
+ configure.args-append --with-postgres-libs=${prefix}/lib/postgresql93
}
variant sqlite3 description {Add SQLite 3 support} {
- depends_lib-append port:sqlite3
- configure.args-append --with-sqlite
- configure.args-append --with-sqlite-includes=${prefix}/include
- configure.args-append --with-sqlite-libs=${prefix}/lib
+ depends_lib-append port:sqlite3
+ configure.args-append --with-sqlite
+ configure.args-append --with-sqlite-includes=${prefix}/include
+ configure.args-append --with-sqlite-libs=${prefix}/lib
}
variant ffmpeg description {Add ffmpeg support} {
- depends_lib-append path:lib/libavcodec.dylib:ffmpeg
- configure.args-append --with-ffmpeg \
- --with-ffmpeg-includes=\"${prefix}/include/libavcodec \
- ${prefix}/include/libavformat \
- ${prefix}/include/libswscale\" \
- --with-ffmpeglibs=${prefix}/lib
+ depends_lib-append path:lib/libavcodec.dylib:ffmpeg
+ configure.args-append --with-ffmpeg \
+ --with-ffmpeg-includes=\"${prefix}/include/libavcodec \
+ ${prefix}/include/libavformat \
+ ${prefix}/include/libswscale\" \
+ --with-ffmpeglibs=${prefix}/lib
}
# python26 variant is only present to allow 'grass +wxgtk28' to coexist with py27-wxpython-3.0
# once support for wxWidgets 3.0 is complete, support for Python 2.6 may be removed
variant python26 conflicts python27 description {} {
- depends_lib-append port:python26
- set python_bin ${frameworks_dir}/Python.framework/Versions/2.6/bin/python2.6
- # Enable support for wxGUI Python extensions
- # (by removing this we wouldn't need to depend on py-wxpython-x.y)
- configure.args-append --with-python=${frameworks_dir}/Python.framework/Versions/2.6/bin/python2.6-config
- build.args-append PYTHON=${python_bin}
+ depends_lib-append port:python26
+ set python_bin ${frameworks_dir}/Python.framework/Versions/2.6/bin/python2.6
+ # Enable support for wxGUI Python extensions
+ # (by removing this we wouldn't need to depend on py-wxpython-x.y)
+ configure.args-append --with-python=${frameworks_dir}/Python.framework/Versions/2.6/bin/python2.6-config
+ build.args-append PYTHON=${python_bin}
# TODO: this port doesn't work with the python portgroup because the group changes too much
# but it would make sense to fix this in such a way that python_bin could be determined automatically
@@ -339,10 +339,10 @@
}
variant python27 conflicts python26 description {} {
- depends_lib-append port:python27
- set python_bin ${frameworks_dir}/Python.framework/Versions/2.7/bin/python2.7
- configure.args-append --with-python=${frameworks_dir}/Python.framework/Versions/2.7/bin/python2.7-config
- build.args-append PYTHON=${python_bin}
+ depends_lib-append port:python27
+ set python_bin ${frameworks_dir}/Python.framework/Versions/2.7/bin/python2.7
+ configure.args-append --with-python=${frameworks_dir}/Python.framework/Versions/2.7/bin/python2.7-config
+ build.args-append PYTHON=${python_bin}
post-patch {
set python_bin ${frameworks_dir}/Python.framework/Versions/2.7/bin/python2.7
@@ -357,20 +357,20 @@
# --disable-wxwidgets if there is demand for that
# grass 4.6.3 is not compatible with wxWidgets 3.0 yet
variant wxwidgets30 conflicts wxwidgets28 wxgtk28 description {Use Cocoa-based wxWidgets 3.0 (experimental)} {
- wxWidgets.use wxPython-3.0
- depends_lib-append port:${wxWidgets.port}
- configure.args-append --with-wxwidgets=${wxWidgets.wxconfig}
+ wxWidgets.use wxPython-3.0
+ depends_lib-append port:${wxWidgets.port}
+ configure.args-append --with-wxwidgets=${wxWidgets.wxconfig}
}
variant wxwidgets28 conflicts wxwidgets30 wxgtk28 description {Use Carbon-based wxWidgets 2.8} {
# untested (might not work)
- wxWidgets.use wxWidgets-2.8
- depends_lib-append port:${wxWidgets.port}
- configure.args-append --with-wxwidgets=${wxWidgets.wxconfig}
+ wxWidgets.use wxWidgets-2.8
+ depends_lib-append port:${wxWidgets.port}
+ configure.args-append --with-wxwidgets=${wxWidgets.wxconfig}
}
variant wxgtk28 conflicts wxwidgets30 wxwidgets28 description {Use GTK-based wxWidgets 2.8} {
- wxWidgets.use wxGTK-2.8
- depends_lib-append port:${wxWidgets.port}
- configure.args-append --with-wxwidgets=${wxWidgets.wxconfig}
+ wxWidgets.use wxGTK-2.8
+ depends_lib-append port:${wxWidgets.port}
+ configure.args-append --with-wxwidgets=${wxWidgets.wxconfig}
}
if {![variant_isset wxwidgets30] && ![variant_isset wxwidgets28] && ![variant_isset wxgtk28]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150327/6adcfdf5/attachment-0001.html>
More information about the macports-changes
mailing list