Freecad install path

Mark Brethen mark.brethen at gmail.com
Sun Jul 13 15:31:01 PDT 2014


On Jul 13, 2014, at 5:25 PM, Mark Brethen <mark.brethen at gmail.com> 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?
> 
> Mark
> 
> 
> 
> 

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? 

Mark






More information about the macports-dev mailing list