2013-04-30 00:27:05 +02:00
|
|
|
# Created by: ijliao
|
2003-10-09 03:47:02 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ggz-txt-client
|
2007-04-07 17:49:51 +02:00
|
|
|
PORTVERSION= ${GGZ_VERSION}
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 2
|
2003-10-09 03:47:02 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
|
2014-02-13 14:52:14 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-10-09 03:47:02 +02:00
|
|
|
COMMENT= The GGZ Gaming Zone - Console (Text) Frontend
|
|
|
|
|
2014-02-19 17:06:32 +01:00
|
|
|
USES= readline
|
2005-01-28 10:58:13 +01:00
|
|
|
GNU_CONFIGURE= yes
|
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
|
|
|
|
2014-02-13 14:52:14 +01:00
|
|
|
INSTALL_TARGET= install-strip
|
2003-10-09 03:47:02 +02:00
|
|
|
|
2014-02-13 14:52:14 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-02-19 17:06:32 +01:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -pthread -lexpat
|
2004-02-14 14:20:36 +01:00
|
|
|
|
2014-02-13 14:52:14 +01:00
|
|
|
OPTIONS_DEFINE= NLS
|
|
|
|
OPTIONS_SUB= yes
|
2013-04-30 00:27:05 +02:00
|
|
|
|
2014-02-13 14:52:14 +01:00
|
|
|
NLS_USES= gettext
|
2014-03-03 16:44:12 +01:00
|
|
|
NLS_CONFIGURE_OFF= --disable-nls
|
2006-04-29 12:41:06 +02:00
|
|
|
|
2014-02-19 17:06:32 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|_LDADD =|_LDADD = $$(LIB_GGZCORE)|' \
|
|
|
|
${WRKSRC}/tttxt/Makefile.in
|
|
|
|
|
2008-02-19 22:24:19 +01:00
|
|
|
post-install:
|
2014-02-13 14:52:14 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/ggz
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/tttxt/module.dsc ${STAGEDIR}/${PREFIX}/share/ggz/tttxt.dsc
|
2008-02-19 22:24:19 +01:00
|
|
|
|
2013-07-22 20:57:44 +02:00
|
|
|
.include "${.CURDIR}/../libggz/bsd.ggz.mk"
|
|
|
|
.include <bsd.port.mk>
|