aboutsummaryrefslogtreecommitdiffstats
path: root/games/bzflag/Makefile
blob: 52857fbdaa3d074265de502de87dbc8c0403fd43 (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
# New ports collection makefile for: bzflag
# Date created:     2000/08/12
# Whom:         makeport.pl
#
# $FreeBSD$
#

PORTNAME=   bzflag
PORTVERSION=    1.10.0
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}-${PORTVERSION:R}.20031209

MAINTAINER= ports@FreeBSD.org
COMMENT=    A multiplayer 3D tank battle game

WRKSRC=     ${WRKDIR}/${PORTNAME}-1.9.10.20031209

USE_GL=     yes
USE_REINPLACE=  yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
MAKE_ARGS=  ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
        AUTOHEADER="${TRUE}"

MAN6=   bzadmin.6 bzflag.6 bzfls.6 bzfquery.6 bzfrelay.6 bzfs.6

post-patch:
    @${REINPLACE_CMD} -e 's|@LINUX_TRUE@||g ; \
         s|@LINUX_FALSE@|#|g' ${WRKSRC}/src/platform/Makefile.in

.include <bsd.port.mk>