diff --git a/games/lpairs2/Portfile b/games/lpairs2/Portfile index a2143132a06..5ceda0da464 100644 --- a/games/lpairs2/Portfile +++ b/games/lpairs2/Portfile @@ -4,7 +4,7 @@ PortSystem 1.0 PortGroup app 1.0 name lpairs2 -version 2.1 +version 2.3.2 categories games maintainers nomaintainer license GPL-2+ @@ -16,20 +16,24 @@ long_description LPairs is a classical memory game. This means you have \ removed. Your time and tries needed will be counted \ but there is no highscore chart or limit to this. -homepage http://lgames.sourceforge.net/index.php?project=LPairs +homepage https://lgames.sourceforge.net/index.php?project=LPairs master_sites sourceforge:lgames -checksums rmd160 4e16a349e9ce680551e4b7ac849e2fc5b5a31d09 \ - sha256 df92980e73d63a334fbbdc33f405af481028d6d7550e8ec8d93371b711394518 \ - size 11913120 +checksums rmd160 08bbcf89f697ce26849bd873ad982613ae4fe797 \ + sha256 cb87912d685f2385cc06d182a9d33f97af697ed18621b563544933fefe72b592 \ + size 11929671 patchfiles-append patch-uint.diff -pre-build { - system -W ${worksrcpath} "chmod 755 install-sh" +post-patch { + # Fix "make: .././install-sh: Permission denied" + file attributes ${worksrcpath}/install-sh -permissions a+x } +depends_lib-append \ + port:gettext-runtime -depends_lib port:gettext \ +depends_build-append \ + port:gettext \ port:libsdl2 \ port:libsdl2_ttf \ port:libsdl2_image \ @@ -38,8 +42,14 @@ depends_lib port:gettext \ # cc1plus: error: unrecognized command line option "-std=c++11" compiler.cxx_standard 2011 -configure.libs -lintl +configure.libs-append \ + -lintl app.name LPairs2 app.icon lpairs2.png app.identifier net.sourceforge.lgames.${app.name} + +livecheck.type sourceforge +livecheck.url https://sourceforge.net/projects/lgames/files/lpairs/ +livecheck.regex ${name}-(\\d+(\\.\\d+)+) +