diff --git a/games/lander/Makefile b/games/lander/Makefile index 1dd5e0d1c244..8d3aa0ca5cde 100644 --- a/games/lander/Makefile +++ b/games/lander/Makefile @@ -1,47 +1,44 @@ PORTNAME= lander PORTVERSION= 0.6.6 PORTREVISION= 21 CATEGORIES= games -MASTER_SITES= http://www.nickg.me.uk/files/ \ - http://mirror.amdmi3.ru/distfiles/ +MASTER_SITES= https://www.nickg.me.uk/files/ \ + https://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org 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 \ libboost_filesystem.so:devel/boost-libs \ libpng.so:graphics/png 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 PORTDOCS= * PORTDATA= * DESKTOP_ENTRIES="Lunar Lander" \ "Lunar Lander clone" \ "${DATADIR}/images/ship.png" \ "lander" \ "Game;ArcadeGame;" \ false OPTIONS_DEFINE= DOCS -post-patch: - @${REINPLACE_CMD} -e 's|-R$$found_dir||g' ${WRKSRC}/configure - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/lander/files/patch-configure b/games/lander/files/patch-configure new file mode 100644 index 000000000000..b28b60d5a3e0 --- /dev/null +++ b/games/lander/files/patch-configure @@ -0,0 +1,20 @@ +--- 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 new file mode 100644 index 000000000000..605ebd9056ac --- /dev/null +++ b/games/lander/files/patch-src_Platform.hpp @@ -0,0 +1,12 @@ +--- src/Platform.hpp.orig 2014-02-02 18:23:11 UTC ++++ src/Platform.hpp +@@ -90,9 +90,6 @@ + #include + #include + +-// Probably using GCC +-#include +- + #endif /* #ifdef WIN32 */ + + // Mac OS X specifics */ diff --git a/games/lander/pkg-descr b/games/lander/pkg-descr index f9875a4a8cca..b4ab7a273579 100644 --- a/games/lander/pkg-descr +++ b/games/lander/pkg-descr @@ -1,7 +1,7 @@ This is a Lunar Lander clone written in C++ and OpenGL. Use the arrow keys to move the ship and avoid crashing into obstacles. Collect all the spinning keys and then land the ship on one of the landing pads. The levels are randomly generated and become progressively harder. -WWW: http://www.doof.me.uk/lunar-lander/ +WWW: https://www.doof.me.uk/lunar-lander/