GrADS

Takeshi Enomoto takeshi at mac.com
Fri Mar 16 08:17:06 PDT 2007


Thank you for commiting GrADS.

However, there are a few loose ends.

1. a few ports required for GrADS are not yet commited.

#11543 netcdf: nomaintainer. I submitted netcdf-3.6.2 and I can  
maintain this.
#11542 udunits
#11515 libnc-dap

2. I understand the use of Tcl, but I need a link to not-yet existing  
file
(${prefix}/bin/${name}) at the destroot time.
Tcl's file does not allow it.
That was why I used "system".

post-destroot {
     xinstall -d -m 755 ${destroot}${prefix}/share/${name}/
     foreach file [glob -directory ${workpath} *.dat *res] {
         file rename ${file} ${destroot}${prefix}/share/${name}/
         file link -symbolic ${destroot}${prefix}/bin/${name} $ 
{prefix}/bin/${name}dods
     }
}

should be:

post-destroot {
     xinstall -d -m 755 ${destroot}${prefix}/share/${name}/
     foreach file [glob -directory ${workpath} *.dat *res] {
         file rename ${file} ${destroot}${prefix}/share/${name}/
     }
    system "ln -s ${prefix}/bin/${name}dods ${prefix}/bin/${name}"
}





More information about the macports-dev mailing list