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

PORTNAME=   tank
PORTVERSION=    0.4a
PORTREVISION=   4
CATEGORIES= games
MASTER_SITES=   http://step.polymtl.ca/~coyote/tank/
EXTRACT_SUFX=   -src.tar.gz

MAINTAINER= erik@bz.bzflag.bz
COMMENT=    A 3-D network tank game that uses OpenGL/Mesa

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

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

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>