On Jul 10, 2013, at 10:30 AM, Mojca Miklavec <[email protected]> wrote:
> the more I read this thread, the more I find it all confusing. That's because it is confusing :) > Can someone suggest the best solution in case of this concrete example? > https://trac.macports.org/browser/users/mojca/ports/science/geant/Portfile > > The variable ${geant.data_versions} works ok (but probably some nicer > code), but ${geant.datadir}, particularly inside destroot of > geant4-${geant.version}-data is problematic. Since you only want to substitute one variable, you should probably go with template substitution. I've attached a patch. vq
Portfile-geant.diff
Description: Binary data
_______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
