Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions games/wesnoth/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ PortSystem 1.0
PortGroup github 1.0
PortGroup cmake 1.1
PortGroup app 1.0
PortGroup openssl 1.0

github.setup wesnoth wesnoth 1.16.12
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
github.setup wesnoth wesnoth 1.18.7
revision 0
checksums rmd160 8cb290ae1451d4dea2665baae6e99999d0e7cba0 \
sha256 1ebb0ec3f7d90ec1edf61710253a05ff5b04d7068a1d48d29b0e6318c946b966 \
size 476686555
checksums rmd160 9535ea64d70b9c5e2ced16e085b191313ac05fb1 \
sha256 d6b50cfdf4388954a1c3da66a61abacdc7643a17aa78a16196e16e720a661fc2 \
size 467312032

set branch [join [lrange [split ${version} .] 0 1] .]
categories games
Expand Down Expand Up @@ -48,20 +47,24 @@ depends_lib-append port:boost \
port:libogg \
path:lib/pkgconfig/pixman-1.pc:libpixman \
port:libpng \
port:readline \
port:libsdl2 \
port:libsdl2_image \
port:libsdl2_mixer \
port:libsdl2_net \
port:libsdl2_ttf \
port:libvorbis \
port:lua54 \
path:lib/pkgconfig/pango.pc:pango \
port:pcre \
port:readline \
port:zlib

compiler.cxx_standard 2017

patchfiles-append frameworks.patch
cmake.build_type Release

configure.args-append -DENABLE_SYSTEM_LUA=ON

patchfiles-append patch-wesnoth-apple-notifications.diff
patchfiles-append patch-wesnoth-sdl-main.diff

Expand Down
24 changes: 0 additions & 24 deletions games/wesnoth/files/frameworks.patch

This file was deleted.