d5223c033c
PR: 53767 Submitted by: KATO Tsuguru <tkato@prontomail.com>
36 lines
905 B
Makefile
36 lines
905 B
Makefile
# New ports collection makefile for: bzflag
|
|
# Date created: 2000/08/12
|
|
# Whom: makeport.pl
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bzflag
|
|
PORTVERSION= 1.7g.2
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A multiplayer 3D tank battle game
|
|
|
|
USE_MESA= yes
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOCONF_VER= 213
|
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
|
AUTOHEADER="${TRUE}"
|
|
|
|
MAN6= bzflag.6 bzfrelay.6 bzfls.6 bzfs.6
|
|
|
|
post-patch:
|
|
@${GREP} -lR "<malloc\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|<malloc\.h>|<stdlib.h>|g'
|
|
@${REINPLACE_CMD} -e 's|@LINUX_TRUE@||g ; \
|
|
s|@LINUX_FALSE@|#|g' ${WRKSRC}/src/platform/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|