symlinks

Mark Brethen mark.brethen at gmail.com
Sun Jan 1 17:50:09 PST 2012


You're thinking of the redcsl wrapper that goes in ${prefix}/bin. The symlink will go in ${prefix}/libexec/cslbuild along with the reduce executable and image files.



###

-Mark

On Jan 1, 2012, at 5:21 PM, Ryan Schmidt <ryandesign at macports.org> wrote:

> 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