Freecad install path
Ryan Schmidt
ryandesign at macports.org
Sun Jul 13 16:34:23 PDT 2014
On Jul 13, 2014, at 5:31 PM, Mark Brethen wrote:
> On Jul 13, 2014, at 5:25 PM, Mark Brethen wrote:
>
>> FreeCAD assumes that the Data, Doc and Mod directories are at the same level as the bin directory, which violate the port file sytem. So I propose to install freecad instead with:
>>
>> -DCMAKE_INSTALL_PREFIX=${prefix}/lib/${name} \
>> -DCMAKE_INSTALL_MANDIR=${prefix}/share/man \
>> -DCMAKE_INSTALL_INFODIR=${prefix}/share/info \
>> -DCMAKE_INSTALL_DATADIR=${prefix}/share/${name} \
>> -DCMAKE_INSTALL_INCLUDEDIR=${prefix}/include/${name} \
>> -DCMAKE_INSTALL_DOCDIR=${prefix}/share/doc/${name}
>>
>> Does the cmake portgroup augment/interfere with these variables?
The cmake portgroup does have some configure args of its own; read the portgroup file to know more. Append to configure.args, rather than overwriting them entirely.
> 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.
More information about the macports-dev
mailing list