freebsd-ports/games/bzflag/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

36 lines
784 B
Makefile

# New ports collection makefile for: bzflag
# Date created: 2000/08/12
# Whom: makeport.pl
#
# $FreeBSD$
#
PORTNAME= bzflag
PORTVERSION= 2.0.16
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20source/${PORTVERSION}
MAINTAINER= chuck@pkix.net
COMMENT= A multiplayer 3D tank battle game
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
USE_BZIP2= yes
USE_SDL= yes
USE_GL= yes
USE_GMAKE= yes
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CPPFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
MAN5= bzw.5
MAN6= bzadmin.6 bzflag.6 bzfquery.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>