Skip to content

Commit

Permalink
fheroes2: white space changes
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-derevenetz authored and reneeotten committed Aug 8, 2021
1 parent 8af4e21 commit d5f02ec
Showing 1 changed file with 28 additions and 25 deletions.
53 changes: 28 additions & 25 deletions games/fheroes2/Portfile
Original file line number Diff line number Diff line change
@@ -1,38 +1,41 @@
# -*- 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

PortSystem 1.0
PortSystem 1.0

PortGroup github 1.0
PortGroup cmake 1.1
PortGroup github 1.0
PortGroup cmake 1.1

github.setup ihhub fheroes2 0.9.6
github.setup ihhub fheroes2 0.9.6

categories games
platforms darwin
maintainers {@oleg-derevenetz gmail.com:oleg.derevenetz} openmaintainer
license GPL-2
categories games
platforms darwin
maintainers {@oleg-derevenetz gmail.com:oleg.derevenetz} openmaintainer
license GPL-2

description Free implementation of Heroes of Might and Magic II game engine
long_description ${description}
description Free implementation of Heroes of Might and Magic II game engine
long_description \
${description}

homepage https://ihhub.github.io/fheroes2/
homepage https://ihhub.github.io/fheroes2/

checksums rmd160 a112a7467328bbfc855866a40b0a9a5b951aaa91 \
sha256 955ca7e0effe342e0437bf3e28c9e1ec0da53b376f8f402e94330dba602aab4d \
size 3179269
checksums rmd160 a112a7467328bbfc855866a40b0a9a5b951aaa91 \
sha256 955ca7e0effe342e0437bf3e28c9e1ec0da53b376f8f402e94330dba602aab4d \
size 3179269

depends_build port:gettext
depends_build port:gettext

depends_lib port:libpng \
port:zlib \
port:libsdl2 \
port:libsdl2_mixer \
port:libsdl2_image
depends_lib port:libpng \
port:zlib \
port:libsdl2 \
port:libsdl2_mixer \
port:libsdl2_image

patchfiles patch-readme-txt.diff
patchfiles patch-readme-txt.diff

compiler.cxx_standard 2011
compiler.thread_local_storage yes
compiler.cxx_standard \
2011
compiler.thread_local_storage \
yes

post-build {
exec make -f Makefile -C ${worksrcpath}/files/lang
Expand All @@ -41,8 +44,8 @@ post-build {
post-destroot {
xinstall -d -m 0755 ${destroot}${prefix}/share/fheroes2/files/lang

xinstall -m 0644 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/fheroes2
xinstall -m 0644 ${worksrcpath}/fheroes2.key ${destroot}${prefix}/share/fheroes2
xinstall -m 0644 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/fheroes2
xinstall -m 0644 ${worksrcpath}/fheroes2.key ${destroot}${prefix}/share/fheroes2
xinstall -m 0644 {*}[glob ${worksrcpath}/files/lang/*.mo] ${destroot}${prefix}/share/fheroes2/files/lang

copy ${destroot}${prefix}/share/doc/fheroes2/demo/demo_unix.sh ${destroot}${prefix}/bin/fheroes2-install-demo
Expand Down

0 comments on commit d5f02ec

Please sign in to comment.