freebsd-ports/games/lander/Makefile
Alex Kozlov d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00

49 lines
1 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= lander
PORTVERSION= 0.6.4
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.nickg.me.uk/files/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Lunar Lander clone
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
boost_filesystem:${PORTSDIR}/devel/boost-libs
GNU_CONFIGURE= yes
USES= gettext
USE_SDL= sdl image mixer
USE_GL= gl glu
USE_GCC= 4.2+
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-boost="${LOCALBASE}" \
--with-boost-filesystem=boost_filesystem
PORTDOCS= *
DESKTOP_ENTRIES="Lunar Lander" \
"Lunar Lander clone" \
"${DATADIR}/images/ship.png" \
"lander" \
"Game;ArcadeGame;" \
false
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/LIBS=/ s|-lSDL_|`${SDL_CONFIG} --libs` &|' \
${WRKSRC}/configure
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>