freebsd-ports/games/jfk/Makefile
William Grzybowski c4cbfa3b76 games/jfk: fix build with clang
PR:		ports/184244
Submitted by:	KATO Tsuguru <tkato432 yahoo.com>
2013-11-30 11:08:26 +00:00

33 lines
846 B
Makefile

# Created by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
# $FreeBSD$
PORTNAME= jfk
PORTVERSION= 0.1.1
PORTREVISION= 10
CATEGORIES= games
MASTER_SITES= http://hop.at/jfk/
LICENSE= GPLv2 # (or later)
MAINTAINER= ports@FreeBSD.org
COMMENT= Multiplayer 2D shoot'em up game
USE_SDL= image sdl
GNU_CONFIGURE= yes
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/client/jfkclient ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/server/jfkserver ${STAGEDIR}${PREFIX}/bin
.for file in art levels
(cd ${WRKSRC}/${file}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install)
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in controls.txt jfkclient.sample jfkserver.sample
${INSTALL_MAN} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>