aboutsummaryrefslogtreecommitdiffstats
path: root/games/ggz-sdl-games/Makefile
blob: f94226c3fbe3911420ca9d981b81838e4c0b4960 (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
# Created by: yinjieh
# $FreeBSD$

PORTNAME=   ggz-sdl-games
PORTVERSION=    ${GGZ_VERSION}
PORTREVISION=   8
CATEGORIES= games

MAINTAINER= kde@FreeBSD.org
COMMENT=    The GGZ Gaming Zone - SDL-based games

USE_GL=     gl
USE_SDL=    image mixer sdl ttf
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-debug
USE_GGZ=    client

CPPFLAGS+=  -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+=   -L${LOCALBASE}/lib ${PTHREAD_LIBS}

post-install:
    ${INSTALL_DATA} ${WRKSRC}/geekgame/module.dsc ${PREFIX}/share/ggz/geekgame.dsc
    ${INSTALL_DATA} ${WRKSRC}/ttt3d/module.dsc ${PREFIX}/share/ggz/ttt3d.dsc

.include "${.CURDIR}/../libggz/bsd.ggz.mk"
.include <bsd.port.mk>