[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / bzflag

File: [cvs.NetBSD.org] / pkgsrc / games / bzflag / Makefile (download)

Revision 1.20, Thu Jun 2 14:29:48 2005 UTC (14 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.19: +3 -5 lines

Fix some pkglint warnings. Replace USE_PERL5
by adding perl to the tools.

# $NetBSD: Makefile,v 1.20 2005/06/02 14:29:48 wiz Exp $

DISTNAME=	bzflag-2.0.2.20050318
PKGNAME=	${DISTNAME:S/.20050318//}
CATEGORIES=	games x11
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE:=bzflag/}

MAINTAINER=	dtremenak@users.sourceforge.net
HOMEPAGE=	http://www.bzflag.org/
COMMENT=	OpenGL tank game

GNU_CONFIGURE=	yes
USE_TOOLS+=	gmake perl
USE_LANGUAGES=	c c++
USE_NCURSES=	# resize_term()
USE_X11=	yes
CPPFLAGS+=      -I/usr/pkg/include -I${X11BASE}/include

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} !=  "Linux"
SUBST_CLASSES+=	    fixme
SUBST_STAGE.fixme=  post-patch
SUBST_FILES.fixme=  src/platform/Makefile.in
SUBST_SED.fixme=    -e "s|@LINUX_TRUE@||g"
SUBST_SED.fixme+=   -e "s|@LINUX_FALSE@|\#|g"
.endif

CONFIGURE_ARGS+=	--with-ncurses

.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"