aboutsummaryrefslogtreecommitdiffstats
path: root/games/ggz-txt-client/Makefile
blob: 58d027f323c65567214134fdd6b613d029bf99de (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: ijliao
# $FreeBSD$

PORTNAME=   ggz-txt-client
PORTVERSION=    ${GGZ_VERSION}
PORTREVISION=   2
CATEGORIES= games

MAINTAINER= kde@FreeBSD.org
COMMENT=    The GGZ Gaming Zone - Console (Text) Frontend

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-debug
USE_GGZ=    client

MAN6=   ggz-txt.6

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

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=      gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+= NLS="@comment "
.endif

post-install:
    ${MKDIR} ${PREFIX}/share/ggz
    @${INSTALL_DATA} ${WRKSRC}/tttxt/module.dsc ${PREFIX}/share/ggz/tttxt.dsc

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