2013-01-31 14:38:42 +01:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
2009-02-22 16:08:35 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lander
|
2014-02-02 20:04:21 +01:00
|
|
|
PORTVERSION= 0.6.6
|
2019-12-11 18:53:48 +01:00
|
|
|
PORTREVISION= 20
|
2009-02-22 16:08:35 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://www.nickg.me.uk/files/ \
|
2009-07-28 18:34:36 +02:00
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
2009-02-22 16:08:35 +01:00
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= Lunar Lander clone
|
|
|
|
|
2017-06-29 11:00:15 +02:00
|
|
|
LICENSE= GPLv3+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2013-12-10 03:39:57 +01:00
|
|
|
|
2020-03-18 03:20:03 +01:00
|
|
|
BROKEN_FreeBSD_11_powerpc64= fails to configure on powerpc64 elfv1: could not link against boost_filesystem-boost_filesystem
|
|
|
|
BROKEN_FreeBSD_12_powerpc64= fails to configure on powerpc64 elfv1: could not link against boost_filesystem-boost_filesystem
|
2018-09-10 03:52:59 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libfreetype.so:print/freetype2 \
|
2017-06-29 11:00:15 +02:00
|
|
|
libboost_filesystem.so:devel/boost-libs \
|
|
|
|
libpng.so:graphics/png
|
2009-02-22 16:08:35 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2019-11-05 23:16:14 +01:00
|
|
|
USES= compiler:c++11-lib gettext gl localbase pkgconfig sdl
|
2009-02-22 16:08:35 +01:00
|
|
|
USE_SDL= sdl image mixer
|
|
|
|
USE_GL= gl glu
|
|
|
|
|
2009-08-12 15:41:26 +02:00
|
|
|
CONFIGURE_ARGS= --with-boost="${LOCALBASE}" \
|
2016-09-09 21:42:46 +02:00
|
|
|
--with-boost-filesystem=boost_filesystem
|
2009-02-22 16:08:35 +01:00
|
|
|
|
|
|
|
PORTDOCS= *
|
2013-12-10 03:39:57 +01:00
|
|
|
PORTDATA= *
|
2009-02-22 16:08:35 +01:00
|
|
|
|
2009-09-11 23:57:40 +02:00
|
|
|
DESKTOP_ENTRIES="Lunar Lander" \
|
|
|
|
"Lunar Lander clone" \
|
|
|
|
"${DATADIR}/images/ship.png" \
|
|
|
|
"lander" \
|
|
|
|
"Game;ArcadeGame;" \
|
|
|
|
false
|
|
|
|
|
2013-12-10 03:39:57 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2009-02-22 16:08:35 +01:00
|
|
|
|
2014-03-30 03:27:07 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-R$$found_dir||g' ${WRKSRC}/configure
|
|
|
|
|
2017-06-29 11:00:15 +02:00
|
|
|
post-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2013-12-10 03:39:57 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
|
2009-02-22 16:08:35 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|