Ticket #55335: hedgewars-0.9.23.diff
File hedgewars-0.9.23.diff, 4.2 KB (added by ryandesign (Ryan Carsten Schmidt), 7 years ago) |
---|
-
Portfile
1 1 # -*- 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 2 2 3 3 PortSystem 1.0 4 PortGroup cmake 1.0 4 PortGroup cmake 1.1 5 PortGroup conflicts_build 1.0 5 6 6 7 name hedgewars 7 version 0.9.22 8 revision 1 8 version 0.9.23 9 9 categories games 10 10 platforms darwin 11 11 license GPL-2 … … 13 13 14 14 description Funny turn-based artillery game, featuring fighting Hedgehogs! 15 15 long_description ${description} 16 homepage https://www.hedgewars.org/17 16 18 master_sites https://www.hedgewars.org/download/releases/ 17 homepage https://www.hedgewars.org 18 master_sites ${homepage}/download/releases/ 19 19 use_bzip2 yes 20 20 distname ${name}-src-${version} 21 21 22 checksums rmd160 359fd026643e69446121b94ba301646812353c19 \ 23 sha256 b699c8971ff420c3edd6533527ae2e99040f1e79207c9140826945bcf0e62192 22 checksums rmd160 25919e6d8d170d2873e32ebacbe3811526edbd10 \ 23 sha256 da2e4908042be56d1c0f3cb80a355bde7f0a49f675b050a03228cc3fb22aae89 \ 24 size 173042171 24 25 25 cmake.out_of_source yes26 27 26 depends_build-append port:pkgconfig \ 28 27 port:ghc \ 29 28 port:hs-vector \ 30 port:hs-bytestring-show \31 29 port:hs-network \ 32 port:hs-dataenc \ 30 port:hs-random \ 31 port:hs-mtl \ 32 port:hs-sandi \ 33 33 port:hs-hslogger \ 34 34 port:hs-utf8-string \ 35 35 port:hs-sha \ 36 36 port:hs-entropy \ 37 37 port:hs-zlib \ 38 port:hs-r andom39 38 port:hs-regex-tdfa 39 40 40 depends_lib-append path:bin/ffmpeg:ffmpeg \ 41 41 port:libogg \ 42 port:libsdl \43 port:libsdl _image \44 port:libsdl _ttf \45 port:libsdl _mixer \46 port:libsdl _net \42 port:libsdl2 \ 43 port:libsdl2_image \ 44 port:libsdl2_ttf \ 45 port:libsdl2_mixer \ 46 port:libsdl2_net \ 47 47 port:zlib \ 48 48 port:libpng \ 49 49 port:glew \ 50 50 port:qt4-mac 51 51 52 conflicts_build hs-dataenc \ 53 keybinder 54 52 55 # don't use the sparkle selfupdate mechanism; use macports update process instead 53 56 configure.args-append -DNOAUTOUPDATE=1 54 57 … … 60 63 # use the pas2c converter to compile the pascal portions rather than fpc 61 64 configure.args-append -DBUILD_ENGINE_C:BOOL=ON 62 65 63 # update two source files to enable building against the current ffmpeg variable and procedure names64 patchfiles-append patch-0001-avwrapper-avframealloc-fix.diff65 patchfiles-append patch-0002-LibavInteraction-fix.diff66 67 # the authours of this game have hardcoded the c++ library in several places and this needs68 # to be deleted for proper linking to the supporting dependencies on macports69 70 # replace the hard-coded link to libstdc++ in the hwc engine build script with proper link flags71 patchfiles-append patch-0003-proj-hwc-CMakeLists-proper-link-flags.diff72 73 66 # remove the hard-coded link to libstdc++ in QTfrontend build script with proper link flags 74 67 patchfiles-append patch-0004-remove-hardcoded-stdlib-and-iokit-QTfrontend.diff 75 68 … … 85 78 move ${worksrcpath}/man/hedgewars.6 ${destroot}${prefix}/share/man/man6/hedgewars.6 86 79 } 87 80 88 livecheck.url https://www.hedgewars.org/download.html81 livecheck.url ${homepage}/download.html