| 104 | # create stub App |
| 105 | set appdir ${destroot}${applications_dir}/FreeCAD.app |
| 106 | xinstall -d ${appdir}/Contents/MacOS |
| 107 | xinstall -d ${appdir}/Contents/Resources |
| 108 | |
| 109 | xinstall -m 644 ${filespath}/Info.plist ${appdir}/Contents/ |
| 110 | xinstall -m 644 ${filespath}/FreeCAD.icns ${appdir}/Contents/Resources/ |
| 111 | xinstall -m 755 ${filespath}/FreeCAD ${appdir}/Contents/MacOS |
| 112 | |
| 113 | reinplace -W ${appdir}/Contents "s,@@VERSION@@,${version},g" Info.plist |
| 114 | reinplace -W ${appdir}/Contents/MacOS "s,@@PREFIX@@,${prefix},g" FreeCAD |
| 115 | } |