blob: f3a805f56d7cf768f1ef1932eebaee37983a1e30 (
plain)
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
35
36
|
# $NetBSD: Makefile,v 1.12 2003/11/06 19:06:42 gavan Exp $
DISTNAME= battleball.21.src
PKGNAME= battleball-2.1
PKGREVISION= 1
WRKSRC= ${WRKDIR}/battleball-2.1-src
CATEGORIES= games x11
MASTER_SITES= http://linuxberg.prover.com.br/files/x11/entertain/
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.cs.utexas.edu/users/pahardin/bb.html
COMMENT= 3d game of soccer, with tanks
USE_BUILDLINK2= YES
USE_X11= YES
USE_GCC_SHLIB= YES
SED_CMDS= -e '/^INCS/s|$$|${CPPFLAGS}|' -e '/^LIBS/s|$$|${LDFLAGS}|'
do-configure:
${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig; \
${SED} ${SED_CMDS} < ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/battleball ${PREFIX}/bin/
.include "../../mk/bsd.prefs.mk"
.if defined(BATTLEBALL_USE_MESA)
.include "../../graphics/MesaLib/buildlink2.mk"
.else
CPPFLAGS+= -DNO_OPENGL
SED_CMDS+= -e '/^GLINCS/s|^|\#|' -e '/^GLLIBS/s|^|\#|'
.endif
.include "../../mk/bsd.pkg.mk"
|