2003-10-09 03:47:02 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: ggz-txt-client
|
|
|
|
# Date created: Oct 8, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ggz-txt-client
|
2007-04-07 17:49:51 +02:00
|
|
|
PORTVERSION= ${GGZ_VERSION}
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 1
|
2003-10-09 03:47:02 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
|
2005-11-04 15:46:25 +01:00
|
|
|
MAINTAINER= yinjieh@csie.nctu.edu.tw
|
2003-10-09 03:47:02 +02:00
|
|
|
COMMENT= The GGZ Gaming Zone - Console (Text) Frontend
|
|
|
|
|
2004-02-14 14:20:36 +01:00
|
|
|
USE_GNOME= gnometarget
|
2005-01-28 10:58:13 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-02-14 14:20:36 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2007-07-23 11:36:51 +02:00
|
|
|
CONFIGURE_ARGS= --disable-debug
|
2007-04-07 17:49:51 +02:00
|
|
|
USE_GGZ= client
|
2003-10-09 03:47:02 +02:00
|
|
|
|
|
|
|
MAN6= ggz-txt.6
|
|
|
|
|
2004-02-14 14:20:36 +01:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
2005-01-28 10:58:13 +01:00
|
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2004-02-14 14:20:36 +01:00
|
|
|
|
2006-04-29 12:41:06 +02:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
|
|
|
|
2008-02-19 22:24:19 +01:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/ggz
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/tttxt/module.dsc ${PREFIX}/share/ggz/tttxt.dsc
|
|
|
|
|
2006-04-29 12:41:06 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2007-04-07 17:49:51 +02:00
|
|
|
.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
|
2006-04-29 12:41:06 +02:00
|
|
|
.include <bsd.port.post.mk>
|