Ticket #46157: freecad_0.15.4671.diff
File freecad_0.15.4671.diff, 6.6 KB (added by michaelld (Michael Dickens), 9 years ago) |
---|
-
Portfile
3 3 4 4 PortSystem 1.0 5 5 PortGroup cmake 1.0 6 PortGroup qt4 1.0 6 7 PortGroup compilers 1.0 7 8 8 9 name freecad 9 version 0.14.3702 10 revision 1 10 version 0.15.4671 11 11 categories cad 12 12 platforms darwin 13 13 maintainers gmail.com:mark.brethen \ … … 27 27 28 28 homepage http://www.freecadweb.org/ 29 29 master_sites sourceforge:project/free-cad/FreeCAD%20Source/ 30 distname ${name}_${version} 31 worksrcdir ${name}-${version} 30 32 31 checksums rmd160 b62582b1283c874f07d9407c7e7a87bb94591f66 \32 sha256 ee24cf3542bfb1a887a12d2df52458bcc0e3e82679370c449b9d8b5b473b9dc933 checksums rmd160 384e482431c45872af24abb0228ef0aa8c864186 \ 34 sha256 8dda8f355cb59866a55c9c6096f39a3ebc5347892284db4c305352cc9be03bbc 33 35 34 36 depends_lib-append port:python27 \ 35 37 port:boost \ … … 38 40 port:oce \ 39 41 port:swig \ 40 42 port:eigen3 \ 41 port:qt4-mac \42 43 port:freetype \ 43 44 port:Coin-framework \ 44 45 port:SoQt \ 45 46 port:py27-shiboken \ 46 47 port:py27-pyside \ 48 port:py27-pyside-tools \ 47 49 port:swig-python 48 50 49 51 depends_run port:qt4-mac-sqlite3-plugin 50 52 51 53 patchfiles cMake-FindCoin3D.cmake.diff \ 52 src-App-FreeCADInit.py.diff \ 53 src-Mod-Sketcher-CMakeLists.txt.diff 54 src-App-FreeCADInit.py.diff 54 55 55 56 post-patch { 56 57 reinplace "s|QLibraryInfo::location.*|QLatin1String\(\"${applications_dir}/Qt4/\"\);|" \ … … 61 62 } 62 63 63 64 compilers.choose fc 64 compilers.setup -dragonegg -g95 -gcc gcc48require_fortran65 compilers.setup -dragonegg -g95 require_fortran 65 66 66 67 configure.args-delete -DCMAKE_INSTALL_RPATH=${prefix}/lib \ 67 68 -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib … … 71 72 -DCMAKE_INSTALL_PREFIX=${prefix}/libexec/${name} \ 72 73 -DCMAKE_INSTALL_DATADIR=${prefix}/share/${name} \ 73 74 -DCMAKE_INSTALL_DOCDIR=${prefix}/share/doc/${name} \ 74 -DCMAKE_FRAMEWORK_PATH=${frameworks_dir} 75 -DCMAKE_FRAMEWORK_PATH=${frameworks_dir} \ 76 -DPYSIDEUIC4BINARY=${prefix}/bin/pyside-uic-2.7 \ 77 -DPYSIDERCC4BINARY=${prefix}/bin/pyside-rcc-2.7 75 78 76 79 pre-configure { 77 80 # The c++ compiler is used for linking instead of fc. … … 81 84 configure.ldflags-append "-L[file dirname ${libgfortran}]" 82 85 83 86 set python_prefix [exec ${prefix}/bin/python2.7-config --prefix] 84 configure.args-append -DFREECAD_BUILD_ROBOT=OFF\87 configure.args-append -DBUILD_ROBOT=NO \ 85 88 -DPYTHON_LIBRARY=${python_prefix}/Python \ 86 89 -DPYTHON_INCLUDE_DIR=${python_prefix}/Headers \ 87 90 -DPYTHON_EXECUTABLE=${python_prefix}/bin/python2.7 \ … … 97 100 98 101 ln -s ${prefix}/libexec/${name}/bin/FreeCADCmd \ 99 102 ${destroot}${prefix}/bin 103 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 100 115 } 101 116 102 117 livecheck.regex ${name}.(\[0-9.\]+)${extract.suffix} -
files/FreeCAD
1 #!/bin/sh 2 3 @@PREFIX@@/bin/freecad -
files/FreeCAD.icns
Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
-
files/Info.plist
Property changes on: files/FreeCAD.icns ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Cannot display: file marked as a binary type. svn:mime-type = application/xml
-
files/src-App-FreeCADInit.py.diff
Property changes on: files/Info.plist ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/xml \ No newline at end of property
1 1 --- src/App/FreeCADInit.py.orig 2014-07-13 10:33:02.000000000 -0500 2 2 +++ src/App/FreeCADInit.py 2014-07-17 20:19:20.000000000 -0500 3 @@ -10 2,6 +102,7 @@3 @@ -101,6 +101,7 @@ 4 4 Log('Init: Initializing ' + Dir + '... done\n') 5 5 else: 6 6 Log('Init: Initializing ' + Dir + '(Init.py not found)... ignore\n') -
files/src-Mod-Sketcher-CMakeLists.txt.diff
1 --- src/Mod/Sketcher/CMakeLists.txt.orig 2014-07-13 10:33:02.000000000 -05002 +++ src/Mod/Sketcher/CMakeLists.txt 2014-07-18 19:14:23.000000000 -05003 @@ -11,7 +11,16 @@4 SketcherExample.py5 TestSketcherApp.py6 TestSketcherGui.py7 + Profiles.py8 DESTINATION9 Mod/Sketcher10 )11 12 +INSTALL(13 + FILES14 + ProfileLib/Hexagon.py15 + ProfileLib/__init__.py16 + DESTINATION17 + Mod/Sketcher/ProfileLib18 +)19 +