Ticket #52188: widelands-18-update.diff
File widelands-18-update.diff, 2.5 KB (added by kenneth.f.cunningham@…, 8 years ago) |
---|
-
Portfile
old new 3 3 4 4 PortSystem 1.0 5 5 PortGroup cmake 1.0 6 PortGroup cxx11 1.0 6 7 7 8 name widelands 8 version build1 79 revision 79 version build18 10 revision 0 10 11 categories games 11 12 platforms darwin 12 13 maintainers nomaintainer … … 22 23 widelands is heavily inspired by those two games. 23 24 24 25 homepage http://wl.widelands.org/ 25 master_sites https://launchpad.net/${name}/${version}/build-1 7/+download/26 master_sites https://launchpad.net/${name}/${version}/build-18/+download/ 26 27 27 28 use_bzip2 yes 28 29 distfiles ${distname}-src${extract.suffix} 29 worksrcdir ${distname}-src/ build30 worksrcdir ${distname}-src/ 30 31 31 checksums rmd160 4ea81d21d3b3e02fc22194d1a39e8c08e05aaa44\32 sha256 be48b3b8f342a537b39a3aec2f7702250a6a47e427188ba3bece67d7d90f3cc532 checksums rmd160 9af8cf7b8108475bec23ac94c2ac05f4d9a60d67 \ 33 sha256 6dffd9178f93ff7a9c3c0c9b31b7d3b8eb060c79fbd98901e6311837390b7de3 33 34 34 35 depends_lib port:libsdl \ 35 36 port:libsdl_image \ … … 39 40 port:libsdl_gfx \ 40 41 port:boost \ 41 42 port:glew \ 42 port:lua 43 port:lua51 43 44 44 # https://code.launchpad.net/~peter.waller/widelands/fix-clang-crashes/+merge/103991 45 patchfiles clang.patch 46 patch.dir ${worksrcpath}/.. 47 48 configure.args ../ \ 49 -DCMAKE_INSTALL_PREFIX:PATH="${applications_dir}/Widelands.app/Contents/MacOS" 45 cmake.out_of_source yes 46 configure.env LUA_DIR=${prefix}/lib/lua-5.1 47 configure.args -DLUA_INCLUDE_DIR="${prefix}/include/lua-5.1" -DCMAKE_INSTALL_PREFIX:PATH="${applications_dir}/Widelands.app/Contents/MacOS" 50 48 51 49 pre-destroot { 52 50 xinstall -d ${destroot}${applications_dir}/Widelands.app/Contents/Resources \ 53 51 ${destroot}${applications_dir}/Widelands.app/MacOS 54 file copy ${worksrcpath}/ ../pics/widelands.icns ${destroot}${applications_dir}/Widelands.app/Contents/Resources/widelands.icns52 file copy ${worksrcpath}/pics/widelands.icns ${destroot}${applications_dir}/Widelands.app/Contents/Resources/widelands.icns 55 53 set data " {\n\ 56 54 CFBundleName = widelands;\n\ 57 55 CFBundleDisplayName = Widelands;\n\