git: 5eb88b9c8853 - main - games/lander: update 0.6.6 → 0.7.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Mar 2022 17:46:06 UTC
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5eb88b9c88538f02cca998d7db4d2ef8ac9c5a0d
commit 5eb88b9c88538f02cca998d7db4d2ef8ac9c5a0d
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-03-15 12:49:56 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-03-15 17:27:35 +0000
games/lander: update 0.6.6 → 0.7.2
---
games/lander/Makefile | 34 +++++++++----------------------
games/lander/distinfo | 5 +++--
games/lander/files/patch-configure | 20 ------------------
games/lander/files/patch-src_Platform.hpp | 12 -----------
games/lander/pkg-plist | 13 +++++++++---
5 files changed, 23 insertions(+), 61 deletions(-)
diff --git a/games/lander/Makefile b/games/lander/Makefile
index 8d3aa0ca5cde..85ba7775fbe8 100644
--- a/games/lander/Makefile
+++ b/games/lander/Makefile
@@ -1,9 +1,7 @@
PORTNAME= lander
-PORTVERSION= 0.6.6
-PORTREVISION= 21
+PORTVERSION= 0.7.2
CATEGORIES= games
-MASTER_SITES= https://www.nickg.me.uk/files/ \
- https://mirror.amdmi3.ru/distfiles/
+MASTER_SITES= https://www.nickg.me.uk/files/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Lunar Lander clone
@@ -11,34 +9,22 @@ COMMENT= Lunar Lander clone
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_FreeBSD_12_powerpc64= fails to configure on powerpc64 elfv1: could not link against boost_filesystem-boost_filesystem
+LIB_DEPENDS= libfreetype.so:print/freetype2
-LIB_DEPENDS= libfreetype.so:print/freetype2 \
- libboost_filesystem.so:devel/boost-libs \
- libpng.so:graphics/png
+USES= compiler:c++17-lang gettext gl meson sdl pkgconfig tar:xz
+USE_SDL= sdl2 image2 mixer2
+USE_GL= gl glew
-GNU_CONFIGURE= yes
-USES= compiler:c++11-lib gettext gl localbase pkgconfig sdl
-USE_SDL= sdl image mixer
-USE_GL= gl glu
-
-CONFIGURE_ARGS= --with-boost="${LOCALBASE}" \
- --with-boost-filesystem=boost_filesystem
+LDFLAGS+= ${LOCALBASE}/lib/libintl.so
PORTDOCS= *
PORTDATA= *
-DESKTOP_ENTRIES="Lunar Lander" \
- "Lunar Lander clone" \
- "${DATADIR}/images/ship.png" \
- "lander" \
- "Game;ArcadeGame;" \
- false
-
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= NLS DOCS
+OPTIONS_SUB= yes
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
diff --git a/games/lander/distinfo b/games/lander/distinfo
index eaf402bc1cbb..25b05c253d38 100644
--- a/games/lander/distinfo
+++ b/games/lander/distinfo
@@ -1,2 +1,3 @@
-SHA256 (lander-0.6.6.tar.gz) = 6f85e622b26c6483788ff20055295266c693ceba8585c860943eab47054ae9a0
-SIZE (lander-0.6.6.tar.gz) = 1892155
+TIMESTAMP = 1647347133
+SHA256 (lander-0.7.2.tar.xz) = 66f5805b1867479ef119c47faf9548032aa31f763576b3010f05fc11399c51a4
+SIZE (lander-0.7.2.tar.xz) = 1440292
diff --git a/games/lander/files/patch-configure b/games/lander/files/patch-configure
deleted file mode 100644
index b28b60d5a3e0..000000000000
--- a/games/lander/files/patch-configure
+++ /dev/null
@@ -1,20 +0,0 @@
---- configure.orig 2014-02-02 18:26:47 UTC
-+++ configure
-@@ -5960,7 +5960,7 @@ fi
- fi
- if test "X$ltrpathdirs" != "X"; then
- for found_dir in $ltrpathdirs; do
-- LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
-+ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }"
- done
- fi
-
-@@ -6844,7 +6844,7 @@ fi
- fi
- if test "X$ltrpathdirs" != "X"; then
- for found_dir in $ltrpathdirs; do
-- LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
-+ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }"
- done
- fi
-
diff --git a/games/lander/files/patch-src_Platform.hpp b/games/lander/files/patch-src_Platform.hpp
deleted file mode 100644
index 605ebd9056ac..000000000000
--- a/games/lander/files/patch-src_Platform.hpp
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/Platform.hpp.orig 2014-02-02 18:23:11 UTC
-+++ src/Platform.hpp
-@@ -90,9 +90,6 @@
- #include <sys/stat.h>
- #include <unistd.h>
-
--// Probably using GCC
--#include <tr1/memory>
--
- #endif /* #ifdef WIN32 */
-
- // Mac OS X specifics */
diff --git a/games/lander/pkg-plist b/games/lander/pkg-plist
index 8c45afe46b2d..a2c9f6d518a6 100644
--- a/games/lander/pkg-plist
+++ b/games/lander/pkg-plist
@@ -1,4 +1,11 @@
bin/lander
-share/locale/en_GB/LC_MESSAGES/lander.mo
-share/locale/nl/LC_MESSAGES/lander.mo
-share/locale/sv/LC_MESSAGES/lander.mo
+share/applications/uk.me.doof.Lander.desktop
+share/icons/hicolor/128x128/apps/lander.png
+share/icons/hicolor/256x256/apps/lander.png
+share/icons/hicolor/32x32/apps/lander.png
+share/icons/hicolor/64x64/apps/lander.png
+share/icons/hicolor/scalable/apps/lander.svg
+%%NLS%%share/locale/en_GB/LC_MESSAGES/lander.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/lander.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/lander.mo
+share/metainfo/uk.me.doof.Lander.appdata.xml