Ticket #52188: widelands-18-update-rev1.diff
File widelands-18-update-rev1.diff, 3.1 KB (added by ken-cunningham-webuse, 8 years ago) |
---|
-
Portfile
old new 3 3 4 4 PortSystem 1.0 5 5 PortGroup cmake 1.0 6 6 PortGroup cxx11 1.0 7 7 name widelands 8 version build1 79 revision 78 version build18 9 revision 0 10 10 categories games 11 11 platforms darwin 12 12 maintainers nomaintainer 13 13 license GPL-2+ 14 14 15 15 description open-source real-time strategy game inspired by Settlers 16 17 16 long_description Widelands is an open-source real-time strategy game. It \ 18 17 is built upon the SDL and other open source libraries and \ 19 18 is (and will always be) under heavy development. If you \ … … 22 21 widelands is heavily inspired by those two games. 23 22 24 23 homepage http://wl.widelands.org/ 25 master_sites https://launchpad.net/${name}/${version}/build-17/+download/ 26 24 master_sites https://launchpad.net/${name}/${version}/build-18/+download/ 27 25 use_bzip2 yes 28 26 distfiles ${distname}-src${extract.suffix} 29 worksrcdir ${distname}-src/build 30 31 checksums rmd160 4ea81d21d3b3e02fc22194d1a39e8c08e05aaa44 \ 32 sha256 be48b3b8f342a537b39a3aec2f7702250a6a47e427188ba3bece67d7d90f3cc5 27 worksrcdir ${distname}-src/ 28 checksums rmd160 9af8cf7b8108475bec23ac94c2ac05f4d9a60d67 \ 29 sha256 6dffd9178f93ff7a9c3c0c9b31b7d3b8eb060c79fbd98901e6311837390b7de3 33 30 34 31 depends_lib port:libsdl \ 35 32 port:libsdl_image \ … … 39 36 port:libsdl_gfx \ 40 37 port:boost \ 41 38 port:glew \ 42 port:lua 39 port:lua51 43 40 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" 41 cmake.out_of_source yes 42 configure.env LUA_DIR=${prefix}/lib/lua-5.1 43 configure.args -DLUA_INCLUDE_DIR="${prefix}/include/lua-5.1" -DCMAKE_INSTALL_PREFIX:PATH="${applications_dir}/Widelands.app/Contents/MacOS" 50 44 51 45 pre-destroot { 52 46 xinstall -d ${destroot}${applications_dir}/Widelands.app/Contents/Resources \ 53 47 ${destroot}${applications_dir}/Widelands.app/MacOS 54 file copy ${worksrcpath}/ ../pics/widelands.icns ${destroot}${applications_dir}/Widelands.app/Contents/Resources/widelands.icns48 file copy ${worksrcpath}/pics/widelands.icns ${destroot}${applications_dir}/Widelands.app/Contents/Resources/widelands.icns 55 49 set data " {\n\ 56 50 CFBundleName = widelands;\n\ 57 51 CFBundleDisplayName = Widelands;\n\ … … 68 62 puts -nonewline $fileId $data 69 63 close $fileId 70 64 } 65 66 notes \ 67 "On some systems, Widelands might demonstrate button artifacts or other visual \ 68 \nanomalies. If this occurs, consider editing ~/.widelands/config to change \ 69 \nthe opengl setting to opengl=\"false.\"" 70