aboutsummaryrefslogtreecommitdiffstats
path: root/games/jfk/Makefile
blob: 6ac3dc9a213c7864f70506c15e3b8f7b56b56de5 (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
# 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>