aboutsummaryrefslogtreecommitdiff
path: root/games/tank/Makefile
blob: c03e211553c14003565b0ca10700d692cd83715d (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
# New ports collection makefile for:    tank
# Date created:         4 Mar 1998
# Whom:                 Donald Burr <dburr@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	tank
PORTVERSION=	0.4a
CATEGORIES=	games
MASTER_SITES=	http://step.polymtl.ca/~coyote/tank/
DISTFILES=	${DISTNAME}-src.tar.gz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A 3-D network tank game that uses OpenGL/Mesa

BUILD_DEPENDS=	${X11BASE}/lib/libaux.a:${PORTSDIR}/graphics/libaux

USE_MESA=	yes
USE_GMAKE=	yes
MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}"
ALL_TARGET=	linux-mesa-elf

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 500000
BROKEN=		"does not build on FreeBSD ${OSVERSION}"
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/tank ${PREFIX}/bin
	${MKDIR} ${PREFIX}/share/tank
	${INSTALL_DATA} ${WRKSRC}/*.tga ${PREFIX}/share/tank
	${INSTALL_DATA} ${WRKSRC}/*.au ${PREFIX}/share/tank

.include <bsd.port.post.mk>