<pre style='margin:0'>
Vincent (Veence) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2da2f74bb3dcf5fc481a6ad2398677094ac5b5fe">https://github.com/macports/macports-ports/commit/2da2f74bb3dcf5fc481a6ad2398677094ac5b5fe</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 2da2f74bb3d grass8: make port obsolete, replace with 'grass'
</span>2da2f74bb3d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2da2f74bb3dcf5fc481a6ad2398677094ac5b5fe
</span>Author: nilason <n_larsson@yahoo.com>
AuthorDate: Mon Mar 28 09:30:56 2022 +0200
<span style='display:block; white-space:pre;color:#404040;'> grass8: make port obsolete, replace with 'grass'
</span>---
gis/grass8/Portfile | 320 +---------------------------------------------------
1 file changed, 4 insertions(+), 316 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/grass8/Portfile b/gis/grass8/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b16bac2eda8..84707c81d55 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gis/grass8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/grass8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,323 +1,11 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup wxWidgets 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup debug 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup compilers 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup obsolete 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup OSGeo grass 8.0.1
</span> name grass8
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set main_version [join [lrange [split ${version} "."] 0 1] ""]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set realVersion ${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#distname grass-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname grass-${realVersion}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 8.0.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> categories gis
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-2+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description GRASS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description GRASS is a Geographic Information System (GIS) used for \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- geospatial data management and analysis.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://grass.osgeo.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}grass[join [lrange [split ${realVersion} .] 0 1] {}]/source/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 b2ee2f92fc546d9632b139d2366d6be9558c4e26 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 e925bf8c44e1809459974457f2ab3c61dd5a24c0655ed026de665d1494f68a96 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 64928098
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:bzip2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:freetype \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:fftw-3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:gdal \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:pdal \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:geos \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:tiff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libpng \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:liblas\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/pkgconfig/cairo.pc:cairo \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:readline
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cflags -DGL_SILENCE_DEPRECATION
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --prefix=${prefix}/share \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --exec-prefix=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-opengl=no \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-opencl=no \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-openmp=no \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-bzlib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-bzlib-includes=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-bzlib-libs=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-fftw-includes=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-fftw-libs=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-freetype \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-freetype-includes=${prefix}/include/freetype2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-freetype-libs=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-gdal=${prefix}/bin/gdal-config \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-tiff-includes=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-tiff-libs=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-png-includes=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-png-libs=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-geos=${prefix}/bin/geos-config \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-liblas=${prefix}/bin/liblas-config \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --without-postgres \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-pthread \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-cairo \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-cairo-includes=${prefix}/include/cairo \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-cairo-libs=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-blas=no \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-lapack=no \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-pdal=no \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-readline \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-readline-includes=${prefix}/include/readline \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-readline-libs=${prefix}/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# --with-pdal=${prefix}/bin/pdal-config \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.target default
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Python 3 variants
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set python_suffixes {36 37 38 39 310}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set python_variants {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach pyver ${python_suffixes} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend python_variants python${pyver}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach pyver ${python_suffixes} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set index [lsearch -exact ${python_variants} python${pyver}]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set conf [lreplace ${python_variants} ${index} ${index}]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- variant python${pyver} description "Use python${pyver}" conflicts {*}${conf} "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:python${pyver} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${pyver}-Pillow \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${pyver}-numpy \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${pyver}-six
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run-append port:py${pyver}-psycopg2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Patches scripts to launch the selected Python version (fixes #59954)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach pyver ${python_suffixes} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset python${pyver}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set pyversion [string index ${pyver} 0].[string range ${pyver} 1 end]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set pybin ${prefix}/bin/python${pyversion}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fs-traverse f ${worksrcpath} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[file extension ${f}] eq ".py"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -q "s|/usr/bin/env python3|${pybin}|" ${f}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|PYVER.*|PYVER = ${pyversion}|" ${worksrcpath}/macosx/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|^PYTHON.*|PYTHON = ${pybin}|" ${worksrcpath}/include/Make/Platform.make.in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Python default
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set pydefault "if {"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach suffix ${python_suffixes} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set pydefault "${pydefault}!\[variant_isset python${suffix}\] && "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set pydefault [string range ${pydefault} 0 end-4]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set pydefault "${pydefault}} { default_variants +python${suffix} }"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-eval ${pydefault}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set proj_versions {6 7 8}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set proj_variants {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach pjver ${proj_versions} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend proj_variants proj${pjver}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach proj_ver ${proj_versions} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set index [lsearch -exact ${proj_variants} proj${proj_ver}]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set cflcts [lreplace ${proj_variants} ${index} ${index}]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- variant proj${proj_ver} description "Use Proj${proj_ver}" conflicts {*}${cflcts} "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:proj${proj_ver}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env PATH=$::env(PATH):${prefix}/lib/proj${proj_ver}/bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build.env PATH=$::env(PATH):${prefix}/lib/proj${proj_ver}/bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-proj-includes=${prefix}/lib/proj${proj_ver}/include \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-proj-libs=${prefix}/lib/proj${proj_ver}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-proj-share=${prefix}/lib/proj${proj_ver}/share/proj
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set projdf "if {"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach pv ${proj_versions} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set projdf "${projdf}!\[variant_isset proj${pv}\] && "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set projdf [string range ${projdf} 0 end-4]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set projdf "${projdf}} { default_variants +proj${pv} }"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-eval ${projdf}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant gui description {Build with wxPython GUI and application bundle} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- wxWidgets.use wxWidgets-3.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:${wxWidgets.port}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach pyver ${python_suffixes} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset python${pyver}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:py${pyver}-wxpython-4.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-wxwidgets=${wxWidgets.wxconfig}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --with-opengl=no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-opengl=osx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Create app bundle
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- global app_name
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set app_name_version [join [lrange [split ${version} "."] 0 1] "."]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set app_name GRASS-${app_name_version}.app
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-build {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 0755 ${worksrcpath}/${app_name}/Contents
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 0755 ${worksrcpath}/${app_name}/Contents/Resources
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 0755 ${worksrcpath}/${app_name}/Contents/MacOS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set script [open "${worksrcpath}/${app_name}/Contents/MacOS/GRASS" w 0755]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${script} "#!/usr/bin/osascript"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${script} ""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${script} "tell application \"Terminal\" to do script \"${prefix}/bin/grass${main_version} --gui; exit\""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- close ${script}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/macosx/app/AppIcon.icns \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/${app_name}/Contents/Resources/AppIcon.icns
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/macosx/app/GRASSDocument_gxw.icns \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/${app_name}/Contents/Resources/GRASSDocument_gxw.icns
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set info_plist ${worksrcpath}/${app_name}/Contents/Info.plist
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/macosx/app/Info.plist.in ${info_plist}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set version_file [open ${worksrcpath}/include/VERSION]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set version_data [split [read ${version_file}] "\n"]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- close ${version_file}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set grass_version_major [lindex ${version_data} 0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set grass_version_minor [lindex ${version_data} 1]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set grass_version_date [lindex ${version_data} 3]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set bundle_version [join [lrange ${version_data} 0 2] "."]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@GRASS_VERSION_MAJOR@|${grass_version_major}|" ${info_plist}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@GRASS_VERSION_MINOR@|${grass_version_minor}|" ${info_plist}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@GRASS_VERSION_DATE@|${grass_version_date}|" ${info_plist}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@BUNDLE_VERSION@|${bundle_version}|" ${info_plist}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@DEPLOYMENT_TARGET@|${macosx_deployment_target}|" ${info_plist}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/${app_name} ${destroot}${applications_dir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# OpenMPI
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[variant_isset openmpi]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --with-openmp=no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-openmp=yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-openmp-includes=${prefix}/include/libomp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-openmp-libs=${prefix}/lib/libomp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compilers.choose cc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compilers.setup clang13
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.compiler macports-clang-13
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.ldflags-append -L${prefix}/lib/libomp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mysql5 description {Add MySQL 5 support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append path:bin/mysql_config5:mysql5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-mysql
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-mysql-includes=${prefix}/include/mysql5/mysql
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-mysql-libs=${prefix}/lib/mysql5/mysql
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append MYSQLD_CONFIG=${prefix}/lib/mysql5/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# PostGreSQL variants (from the GDAL port)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set postgresql_suffixes {10 11 12 13 14}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set postgresql_variants {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach suffix ${postgresql_suffixes} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend postgresql_variants postgresql${suffix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach suffix ${postgresql_suffixes} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set vrt postgresql${suffix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set pgversion [string index ${suffix} 0].[string index ${suffix} 1]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set index [lsearch -exact ${postgresql_variants} ${vrt}]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set conf [lreplace ${postgresql_variants} ${index} ${index}]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- variant ${vrt} description "Use PostgreSQL ${pgversion}" conflicts {*}${conf} "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:${vrt}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-postgres-includes=${prefix}/include/${vrt}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-postgres-libs=${prefix}/lib/${vrt}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --with-postgres=no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-postgres=yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# PostGreSQL default
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set pgdefault "if {"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach suffix ${postgresql_suffixes} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set pgdefault "${pgdefault}!\[variant_isset postgresql${suffix}\] && "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set pgdefault [string range ${pgdefault} 0 end-4]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set pgdefault "${pgdefault}} { default_variants +postgresql${suffix} }"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-eval ${pgdefault}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant sqlite description {Add SQLite 3 support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:sqlite3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-sqlite
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-sqlite-includes=${prefix}/include
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-sqlite-libs=${prefix}/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant openblas description {Use OpenBLAS for BLAS/LAPACK} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:openblas
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --with-blas=no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --with-lapack=no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-blas=yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-lapack=yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-blas-includes=${prefix}/include
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-lapack-includes=${prefix}/include
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant zstd description {Add ZStandard compression support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:zlib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-zstd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-zstd-includes=${prefix}/include
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-zstd-libs=${prefix}/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-configure {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# file copy ${prefix}/include/ogr_srs_api.h ${worksrcpath}/lib/python/ctypes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# file copy ${prefix}/include/ogr_api.h ${worksrcpath}/lib/python/ctypes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# file copy ${prefix}/include/cpl_progress.h ${worksrcpath}/lib/python/ctypes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# file copy ${prefix}/include/ogr_core.h ${worksrcpath}/lib/python/ctypes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# file copy ${prefix}/include/gdal_version.h ${worksrcpath}/lib/python/ctypes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# file copy ${prefix}/include/cpl_port.h ${worksrcpath}/lib/python/ctypes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# reinplace -E "s|\\\$\\\(CPPFLAGS)|-I${worksrcpath}/python/libgrass_interface_generator \$(CPPFLAGS) \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- \\\\\"-Drestrict=\\\\\" \\\\\"-D__attribute__(x)=0\\\\\" \\\\\"-D_Nonnull=\\\\\" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- \\\\\"-Dint8_t=char\\\\\" \\\\\"-DCF_INLINE=\\\\\" \\\\\"-D_Null_unspecified=\\\\\" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- \\\\\"-D__DARWIN_OS_INLINE=\\\\\"|" ${worksrcpath}/python/libgrass_interface_generator/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -E "s|(MAC_FLAGS =.*)|\\1 -D__attribute__(x)=|" ${worksrcpath}/python/libgrass_interface_generator/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url ${master_sites}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex grass-(7.\[0-9.\]+)${extract.suffix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+replaced_by grass
</span></pre><pre style='margin:0'>
</pre>