aboutsummaryrefslogtreecommitdiffstats
path: root/games/ggz-gtk-games/Makefile
blob: e25b875390882b85ca114351a57280f51c5d38d6 (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
41
42
43
44
45
46
47
48
# ex:ts=8
# Ports collection makefile for:    ggz-gtk-games
# Date created:         Feb. 19, 2006
# Whom:             yinjieh
#
# $FreeBSD$
#

PORTNAME=   ggz-gtk-games
PORTVERSION=    0.0.13
CATEGORIES= games
MASTER_SITES=   http://mirrors.dotsrc.org/ggzgamingzone/ggz/%SUBDIR%/ \
        http://ftp.ggzgamingzone.org/pub/ggz/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTVERSION}
DIST_SUBDIR=    ggz

MAINTAINER= yinjieh@csie.nctu.edu.tw
COMMENT=    The GGZ Gaming Zone - GTK+ Games

LIB_DEPENDS=    ggzcore.8:${PORTSDIR}/games/ggz-client-libs
RUN_DEPENDS=    ${LOCALBASE}/bin/ggz-gtk:${PORTSDIR}/games/ggz-gtk-client

USE_GCC=    3.3+
USE_GNOME=  gnometarget gtk20
USE_GETOPT_LONG=    yes
USE_GETTEXT=    yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --disable-debug

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

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.endif

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
IGNORE= depends on libggz which does not build on 4.x
.endif

.include <bsd.port.post.mk>