[76526] trunk/dports/gis/gdal-grass/Portfile

Ryan Schmidt ryandesign at macports.org
Sun Feb 27 03:06:34 PST 2011


On Feb 27, 2011, at 02:48, vince at macports.org wrote:

> Revision: 76526
>          http://trac.macports.org/changeset/76526
> Author:   vince at macports.org
> Date:     2011-02-27 00:48:20 -0800 (Sun, 27 Feb 2011)
> Log Message:
> -----------
> Updates for grass 6.4.0 (latest version)
> 
> Modified Paths:
> --------------
>    trunk/dports/gis/gdal-grass/Portfile


> -configure.args-append --with-grass=${prefix}
> +configure.args-append --with-grass=${prefix}/share/grass-6.4.0

Is there perhaps a way that gdal-grass could ask grass for this directory path, or at least for its version number, rather than hardcoding it? I can't seem to install grass at the moment, but perhaps there is a pkg-config .pc file, or a grass-config script, or perhaps the grass program can be called with a -v or --version flag to have it print its version, which could be used here?




More information about the macports-dev mailing list