aboutsummaryrefslogtreecommitdiffstats
path: root/games/tank/Makefile
blob: 2b9e1747d32d69085e445cd734908a8b5d3e5611 (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
# Created by: Donald Burr <dburr@FreeBSD.org>
# $FreeBSD$

PORTNAME=   tank
PORTVERSION=    0.4a
PORTREVISION=   4
CATEGORIES= games
MASTER_SITES=   http://elfga.com/~erik/fbsd/files/ \
    http://elfga.com/~erik/fbsd/files/
EXTRACT_SUFX=   -src.tar.gz

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

BUILD_DEPENDS=  libaux>=1.0:${PORTSDIR}/graphics/libaux

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

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

.include <bsd.port.mk>