summaryrefslogtreecommitdiff
path: root/games/jfk/Makefile
blob: 0be98a05e09b8070e3027ae836632bd8ad7ed2ab (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
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:	jfk
# Date created:				8 September 2002
# Whom:					Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
#
# $FreeBSD$
#

PORTNAME=	jfk
PORTVERSION=	0.1.1
CATEGORIES=	games
MASTER_SITES=	http://relax.ath.cx/jfk/

MAINTAINER=	stefan@fafoe.narf.at
COMMENT=	A multiplayer 2D shoot'em up game

LIB_DEPENDS=	SDL_image.10:${PORTSDIR}/graphics/sdl_image

CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE=	yes
USE_SDL=	yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 501000
BROKEN=		"Does not compile"
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/client/jfkclient ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/src/server/jfkserver ${PREFIX}/bin
.for file in art levels
	@(cd ${WRKSRC}/${file}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install)
.endfor
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in controls.txt jfkclient.sample jfkserver.sample
	${INSTALL_MAN} ${WRKSRC}/doc/${file} ${DOCSDIR}
.endfor
.endif

post-install:
	@${SED} s-\$${PREFIX}-${PREFIX}-g < ${PKGMESSAGE}

.include <bsd.port.post.mk>