blob: 5dcb1c99893a20e406a9577ee29b2787d90394fb (
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
|
# $NetBSD: Makefile,v 1.11 2001/10/23 13:14:52 jlam Exp $
DISTNAME= clanbomber-1.01
PKGNAME= ${DISTNAME}nb1
CATEGORIES= games x11
MASTER_SITES= http://www.clanbomber.de/files/
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.clanbomber.de/
COMMENT= Bomberman clone using the ClanLib graphics system
USE_BUILDLINK_ONLY= yes
USE_X11BASE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
# needs a valid X display to compile its datafiles
.ifndef DISPLAY
IS_INTERACTIVE= yes
.endif
pre-configure:
${ECHO} "#define BOMBERDATDIR \"${X11PREFIX}/share/clanbomber/clanbomber.dat\"" >> ${WRKSRC}/config.h.in
${ECHO} "#define BOMBERMAPS \"${X11PREFIX}/share/clanbomber/maps\"" >> ${WRKSRC}/config.h.in
pre-build:
@if [ "${DISPLAY}" = "" ]; then \
${ECHO} Please set the DISPLAY variable to a valid display; \
${ECHO} before compiling ${PKGNAME}.; \
exit 1; \
fi;
.include "../../mk/x11.buildlink.mk"
.include "../../graphics/clanlib/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|