aboutsummaryrefslogtreecommitdiffstats
path: root/games/burgerspace/Makefile
blob: 6bb2ee96186e9ce09ea8bcb23e0ba33521c49fcb (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
# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD$

PORTNAME=   burgerspace
PORTVERSION=    1.9.2
PORTREVISION=   2
CATEGORIES= games
MASTER_SITES=   http://perso.b2b2c.ca/~sarrazip/dev/ \
        LOCAL/martymac

MAINTAINER= martymac@FreeBSD.org
COMMENT=    BurgerTime clone

LICENSE=    GPLv2

LIB_DEPENDS=    libflatzebra-0.1.so:devel/flatzebra

USES=       pkgconfig sdl
USE_CXXSTD= gnu++98
USE_SDL=    mixer sdl

GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

PORTDOCS=   AUTHORS COPYING INSTALL NEWS README THANKS TODO

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e 's|^pkgsounddir =.*|pkgsounddir = ${DATADIR}/sounds|' \
        ${WRKSRC}/src/Makefile.in
    @${REINPLACE_CMD} -e 's|docdir = .*|docdir = ${DOCSDIR}|' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>