1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/games/lander/Makefile
Niclas Zeising 0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00

51 lines
1.1 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= lander
PORTVERSION= 0.6.6
PORTREVISION= 14
CATEGORIES= games
MASTER_SITES= http://www.nickg.me.uk/files/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Lunar Lander clone
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_powerpc64= fails to configure: error: 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 localbase pkgconfig
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 <bsd.port.mk>