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

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

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

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

USE_X_PREFIX=   yes
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>