aboutsummaryrefslogtreecommitdiff
path: root/games/zaz
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-08-28 23:00:57 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-08-28 23:00:57 +0000
commit47198320fcff9fb977f107cddac3f3cf5e07b317 (patch)
tree38f390b05f3ae792f89df35fb0acd0d820db23cb /games/zaz
parent9259abbf2a586fb5492b095d751c33c5795bcb04 (diff)
downloadports-47198320fcff9fb977f107cddac3f3cf5e07b317.tar.gz
ports-47198320fcff9fb977f107cddac3f3cf5e07b317.zip
Notes
Diffstat (limited to 'games/zaz')
-rw-r--r--games/zaz/Makefile10
-rw-r--r--games/zaz/distinfo6
-rw-r--r--games/zaz/pkg-plist2
3 files changed, 14 insertions, 4 deletions
diff --git a/games/zaz/Makefile b/games/zaz/Makefile
index 30897b69ff50..fb327328e92a 100644
--- a/games/zaz/Makefile
+++ b/games/zaz/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= zaz
-PORTVERSION= 0.2.8
+PORTVERSION= 0.2.9
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}
@@ -30,6 +30,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 -I${LOCALBASE}/include
PORTDOCS= *
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/^zazdocdir =/ s|$${prefix}/doc|$${prefix}/share/doc|' \
${WRKSRC}/Makefile.in
diff --git a/games/zaz/distinfo b/games/zaz/distinfo
index fc36b9ac1aab..a3df48dc9409 100644
--- a/games/zaz/distinfo
+++ b/games/zaz/distinfo
@@ -1,3 +1,3 @@
-MD5 (zaz-0.2.8.tar.gz) = 7509cf2b777ffedf92e801c5d4c5fff0
-SHA256 (zaz-0.2.8.tar.gz) = a527a152145c27a5013e509c93c066e0d3d364829c2b4d5cc045d037f2f895dc
-SIZE (zaz-0.2.8.tar.gz) = 30865105
+MD5 (zaz-0.2.9.tar.gz) = 74dca44e4d1d9956d551f17759e80a38
+SHA256 (zaz-0.2.9.tar.gz) = 465f7233886f3d8d0dd4559eca518976aa04532d20a1b6ea4de6b1794fec9af4
+SIZE (zaz-0.2.9.tar.gz) = 38494499
diff --git a/games/zaz/pkg-plist b/games/zaz/pkg-plist
index 7fd5cecbdb08..699d8f21b861 100644
--- a/games/zaz/pkg-plist
+++ b/games/zaz/pkg-plist
@@ -1,5 +1,7 @@
bin/zaz
share/applications/zaz.desktop
+%%NLS%%share/locale/es/LC_MESSAGES/zaz.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/zaz.mo
share/pixmaps/zaz.xpm
%%DATADIR%%/FreeMonoBold.ttf
%%DATADIR%%/FreeSans.ttf