[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.10, Sun Jan 25 15:27:42 2004 UTC (15 years, 10 months ago) by kristerw
Branch: MAIN
Changes since 1.9: +2 -1 lines

Add build dependency on perl (pod2man is used for the man page).

# $NetBSD: Makefile,v 1.10 2004/01/25 15:27:42 kristerw Exp $

DISTNAME=	bzflag-1.10.20031209
PKGNAME=	${DISTNAME:S/20031209/0/}
CATEGORIES=	games x11
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE:=bzflag/}

MAINTAINER=	blymn@baea.com.au
HOMEPAGE=	http://www.bzflag.org/
COMMENT=	OpenGL tank game

WRKSRC=		${WRKDIR}/bzflag-1.9.10.20031209
GNU_CONFIGURE=	yes
USE_NCURSES=	# resize_term()
USE_X11=	yes
USE_BUILDLINK2=	yes
USE_GNU_TOOLS+=	make
USE_PERL5=	build

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

.if ${OPSYS} !=  "Linux"
post-extract:
	${SED} -e 's|@LINUX_TRUE@||g ; s|@LINUX_FALSE@|#|g' \
		${WRKSRC}/src/platform/Makefile.in > \
		${WRKSRC}/src/platform/Makefile.sed
	${MV} ${WRKSRC}/src/platform/Makefile.sed \
		${WRKSRC}/src/platform/Makefile.in
.endif

CONFIGURE_ARGS+=	--with-ncurses

.include "../../devel/ncurses/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
.include "../../graphics/Mesa/buildlink2.mk"

.include "../../mk/ossaudio.buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"