Freecad install path
Ryan Schmidt
ryandesign at macports.org
Sun Jul 13 17:10:09 PDT 2014
On Jul 13, 2014, at 6:54 PM, Mark Brethen wrote:
> On Jul 13, 2014, at 6:34 PM, Ryan Schmidt wrote:
>
>> On Jul 13, 2014, at 5:31 PM, Mark Brethen wrote:
>>
>>> I forgot to mention that the FreeCAD executable would be located in /opt/local/lib/freecad/bin and then it is necessary to symlink it to /opt/local/bin. Is this possible?
>>
>> libexec would be a better choice for this than lib, but yes, that would be ok.
>
> Someone please check my links; it takes awhile to build, so I don't want to do it over:
>
> post-destroot {
> # link the executables back
>
> ln -s ${prefix}/bin/FreeCAD \
> ${prefix}/libexec/${name}/bin/FreeCAD
> ln -s ${prefix}/bin/FreeCADCmd \
> ${prefix}/libexec/${name}/bin/FreeCADCmd
> }
The links need to be created in the destroot.
post-destroot {
# link the executables back
ln -s ${prefix}/bin/FreeCAD \
${destroot}${prefix}/libexec/${name}/bin/FreeCAD
ln -s ${prefix}/bin/FreeCADCmd \
${destroot}${prefix}/libexec/${name}/bin/FreeCADCmd
}
More information about the macports-dev
mailing list