[121102] users/mojca/ports/gis/grass/Portfile
mojca at macports.org
mojca at macports.org
Tue Jun 17 07:53:51 PDT 2014
Revision: 121102
https://trac.macports.org/changeset/121102
Author: mojca at macports.org
Date: 2014-06-17 07:53:51 -0700 (Tue, 17 Jun 2014)
Log Message:
-----------
mojca/grass: whitespace only
Modified Paths:
--------------
users/mojca/ports/gis/grass/Portfile
Modified: users/mojca/ports/gis/grass/Portfile
===================================================================
--- users/mojca/ports/gis/grass/Portfile 2014-06-17 14:50:24 UTC (rev 121101)
+++ users/mojca/ports/gis/grass/Portfile 2014-06-17 14:53:51 UTC (rev 121102)
@@ -1,51 +1,50 @@
# $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
-epoch 1
-version 7.0.0beta2
-maintainers nomaintainer
-categories gis
-license GPL-2+
-platforms darwin
+name grass
+epoch 1
+version 7.0.0beta2
+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 bfc01c12afa8929fc17568359551861cd413089b \
- sha256 b360de82f9683f04383f03c4b584287be233fa76d05b0cb1f50d57d2de5cffdd
+checksums rmd160 bfc01c12afa8929fc17568359551861cd413089b \
+ sha256 b360de82f9683f04383f03c4b584287be233fa76d05b0cb1f50d57d2de5cffdd
-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-include-Make-Install.make.diff \
- patch-is_void.diff \
- patch-lib-init-grass.sh.diff \
- patch-ffmpeg.diff
+patchfiles patch-configure.diff \
+ patch-include-Make-Install.make.diff \
+ patch-is_void.diff \
+ patch-lib-init-grass.sh.diff \
+ patch-ffmpeg.diff
post-patch {
reinplace "s|@@APPLICATIONS_DIR@@|${applications_dir}|" ${worksrcpath}/configure
@@ -91,86 +90,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
}
variant python27 description {} {
# 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
- depends_lib-append port:python27
- set python_bin ${frameworks_dir}/Python.framework/Versions/2.7/bin/python2.7
- # 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.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
+ # 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.7/bin/python2.7-config
+ build.args-append PYTHON=${python_bin}
post-patch {
# for some reason it fails if python_bin is not defined inside post-patch (figure out why)
@@ -192,9 +191,9 @@
# TODO: in principle wxWidgets is optional and could be disable with
# --disable-wxwidgets if there is demand for that
variant wxwidgets30 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}
}
# TODO: this forces the variants
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140617/bd7eb96e/attachment.html>
More information about the macports-changes
mailing list