> On May 18, 2017, at 13:32, Vincent <[email protected]> wrote: > > Vincent (Veence) pushed a commit to branch master > in repository macports-ports. > > > https://github.com/macports/macports-ports/commit/5dd0c4d6ce6d8adc6154143aa3153b39183ea45f > > commit 5dd0c4d6ce6d8adc6154143aa3153b39183ea45f > > Author: Veence <[email protected]> > AuthorDate: Thu May 18 15:54:20 2017 +0200 > > > grass7: bump to 7.2.1 > > --- > gis/grass7/Portfile | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > > > diff --git a/gis/grass7/Portfile b/gis/grass7/Portfile > > index 1f73d23..8f91b18 100644 > > --- a/gis/grass7/Portfile > > +++ b/gis/grass7/Portfile > > @@ -5,8 +5,7 @@ PortGroup wxWidgets 1.0 > > PortGroup active_variants 1.1 > > name grass7 > > -version 7.2.0 > > -revision 1 > > +version 7.2.1 > > set realVersion ${version} > #distname grass-${version} > distname grass-${realVersion} > > @@ -22,8 +21,8 @@ long_description GRASS is a Geographic Information System > (GIS) used for \ > > homepage http://grass.osgeo.org/ > master_sites ${homepage}grass[join [lrange [split ${realVersion} .] 0 > 1] {}]/source/ > > > -checksums rmd160 432b56f69665e4fae7bd8a908742b25012471c01 \ > > - sha256 > f0bc0c3cfccc98330ce01547bd86d8281f93f05a45b6115eb33044a07cf70750 > > +checksums rmd160 491fb1a385dab65e7b8695c3f00bbcabfe35755c \ > > + sha256 > 4bccf6676bb3546fb4de0a20d79316666abee56b92cafc96e8e8563cc07b5a3d > > > wxWidgets.use wxPython-3.0 > > > @@ -147,6 +146,11 @@ variant atlas description {Use Atlas for BLAS/LAPACK} { > > # configure.args-append --with-liblapack=${prefix}/lib/libtatlas.dylib > } > > > +pre-destroot { > > + exec mkdir -p ${destroot}${prefix}/share/grass-7.2.0/etc > > + exec touch ${destroot}${prefix}/share/grass-7.2.0/etc/fontcap > > +}
You don't need to, and shouldn't, use exec to call executables to make directories or touch files. Tcl has built-in commands to do that.
