symlinks

Ryan Schmidt ryandesign at macports.org
Sun Jan 1 15:21:59 PST 2012


On Dec 30, 2011, at 16:34, Mark Brethen wrote:

> The CSL Reduce includes a font directory, which it requires to be in the same directory as the executable. I'm going to put the font directory in ${destroot}${prefix}/share/${name}/fonts with a symlink of this directory in the same directory as reduce. The relative symlink should work.

If you're suggesting that you would like to install this font directory symlink in ${prefix}/bin, then I would ask you not to do that. ${prefix}/bin should only contain programs the user will run. Instead, put the binary in (or somewhere under) ${prefix}/libexec/${name}, put the font directory (or a symlink to it) in the same directory, and finally put a symlink (or wrapper script) in ${prefix}/bin which will run the binary in ${prefix}/libexec/${name}.




More information about the macports-dev mailing list