aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-04-29 18:41:06 +0800
committererwin <erwin@FreeBSD.org>2006-04-29 18:41:06 +0800
commit87e5072a679f676e60ab331d43fc8b8259c8d3e6 (patch)
tree2a82d64acef64ea9aaf4ff7d10052917c0882af1
parenteaba1a2490b20d116e48f4ccc9f1665eb1f2ed63 (diff)
downloadfreebsd-ports-gnome-87e5072a679f676e60ab331d43fc8b8259c8d3e6.tar.gz
freebsd-ports-gnome-87e5072a679f676e60ab331d43fc8b8259c8d3e6.tar.zst
freebsd-ports-gnome-87e5072a679f676e60ab331d43fc8b8259c8d3e6.zip
- Update to 0.0.13
- Respect WITHOUT_NLS PR: 96189 Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw> (maintainer)
-rw-r--r--games/ggz-txt-client/Makefile19
-rw-r--r--games/ggz-txt-client/distinfo6
-rw-r--r--games/ggz-txt-client/pkg-descr4
-rw-r--r--games/ggz-txt-client/pkg-plist2
4 files changed, 25 insertions, 6 deletions
diff --git a/games/ggz-txt-client/Makefile b/games/ggz-txt-client/Makefile
index 6f855557d650..f474bf9142d2 100644
--- a/games/ggz-txt-client/Makefile
+++ b/games/ggz-txt-client/Makefile
@@ -7,11 +7,12 @@
#
PORTNAME= ggz-txt-client
-PORTVERSION= 0.0.12
+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 - Console (Text) Frontend
@@ -30,4 +31,18 @@ MAN6= ggz-txt.6
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-.include <bsd.port.mk>
+.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>
diff --git a/games/ggz-txt-client/distinfo b/games/ggz-txt-client/distinfo
index 1934cfb9d630..a92abf4730a9 100644
--- a/games/ggz-txt-client/distinfo
+++ b/games/ggz-txt-client/distinfo
@@ -1,3 +1,3 @@
-MD5 (ggz-txt-client-0.0.12.tar.gz) = 6f239c047439ec30c6d60f1bf35e7dc3
-SHA256 (ggz-txt-client-0.0.12.tar.gz) = c8695528fd62a9fcf7d1fe200d83892a26b6281961f82727b49d47917b97cd25
-SIZE (ggz-txt-client-0.0.12.tar.gz) = 142423
+MD5 (ggz/ggz-txt-client-0.0.13.tar.gz) = 7eb25d2612c06f5324d1b1bfda631fc2
+SHA256 (ggz/ggz-txt-client-0.0.13.tar.gz) = c8db34bbe64bf46cf23428629554d2f867efaa61b6f1eafc0c5f146462368470
+SIZE (ggz/ggz-txt-client-0.0.13.tar.gz) = 145746
diff --git a/games/ggz-txt-client/pkg-descr b/games/ggz-txt-client/pkg-descr
index 813a4416aedf..bed7d28beec2 100644
--- a/games/ggz-txt-client/pkg-descr
+++ b/games/ggz-txt-client/pkg-descr
@@ -1,3 +1,7 @@
+=============================================
+The GGZ Gaming Zone - Console (Text) Frontend
+=============================================
+
This core client is not only useful for environments where no
graphical desktop is available, but does also serve as a reference
implementation of the ggzcore functionality.
diff --git a/games/ggz-txt-client/pkg-plist b/games/ggz-txt-client/pkg-plist
index bafb2cf9250f..7df4a4fd46d8 100644
--- a/games/ggz-txt-client/pkg-plist
+++ b/games/ggz-txt-client/pkg-plist
@@ -2,6 +2,6 @@ bin/ggz-txt
etc/ggz.modules
lib/ggz/tttxt
share/applications/ggz-txt.desktop
-share/locale/de/LC_MESSAGES/ggz-txt.mo
+%%NLS%%share/locale/de/LC_MESSAGES/ggz-txt.mo
@dirrmtry share/applications
@dirrmtry lib/ggz