# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup FreeCAD FreeCAD 0.17
maintainers {gmail.com:mark.brethen @mbrethen} {mps @Schamschula} openmaintainer
FreeCAD is a general purpose feature-based, parametric 3D modeler.
FreeCAD is a general purpose feature-based, parametric 3D modeler for \
CAD, MCAD, CAx, CAE and PLM, aimed directly at mechanical engineering \
and product design but also fits a wider range of uses in engineering, \
such as architecture or other engineering specialties. It is 100% Open \
Source (LGPL2+ license) and extremely modular, allowing for very \
advanced extension and customization.
homepage https://www.freecadweb.org
checksums rmd160 9f6da6f2d1b666e818de0103520d96c95cd089dd \
sha256 db93b20132c97fe07b169ce453e656c94d05874f1a648c6ae4e446904ef2dcd2 \
depends_lib-append port:boost \
depends_run port:qt4-mac-sqlite3-plugin
patchfiles cMake-FindCoin3D.cmake.diff
# disable FreeCAD FEM module, as it requires hdf5 1.8.x
patchfiles-append patch-CMakeLists.txt.diff
reinplace "s|QLibraryInfo::location.*|QLatin1String\(\"${applications_dir}/Qt4/\"\);|" \
${worksrcpath}/src/Gui/Assistant.cpp
reinplace "s|/Applications|${applications_dir}|" \
${worksrcpath}/src/Mod/OpenSCAD/OpenSCADUtils.py