summaryrefslogtreecommitdiff
path: root/games/jfk/Makefile
blob: 478cb78315e95341446abcccf114e89d1f972b56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
# $FreeBSD$

PORTNAME=	jfk
PORTVERSION=	0.1.1
PORTREVISION=	12
CATEGORIES=	games
MASTER_SITES=	http://hop.at/jfk/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Multiplayer 2D shoot'em up game

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

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_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>