summaryrefslogtreecommitdiff
path: root/games/burgerspace/Makefile
blob: 9423216dac41724dc18ff5f1235e99fbc24b36a5 (plain) (blame)
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
37
38
39
40
# New ports collection makefile for:	burgerspace
# Date created:			Apr 13, 2001
# Whom:				Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

PORTNAME=	burgerspace
PORTVERSION=	1.8.1
CATEGORIES=	games
MASTER_SITES=	http://www3.sympatico.ca/sarrazip/dev/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A BurgerTime clone

LIB_DEPENDS=	gengameng.4:${PORTSDIR}/devel/gengameng \
		flatzebra-0.1.2:${PORTSDIR}/devel/flatzebra

USE_GETOPT_LONG=yes
GNU_CONFIGURE=	yes
SDL_CONFIG?=	${LOCALBASE}/bin/sdl-config
CPPFLAGS=	-I${X11BASE}/include -I${LOCALBASE}/include
LDFLAGS=	-L${LOCALBASE}/lib
CCONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS+=	--with-gengameng-prefix="${X11BASE}"

MAN6=		burgerspace.6
PLIST_FILES=	bin/burgerspace

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=		Does not compile on FreeBSD 4.x
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/burgerspace ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/doc/burgerspace.6 ${PREFIX}/man/man6

.include <bsd.port.post.mk>