aboutsummaryrefslogtreecommitdiff
path: root/games/gtkabale
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-06-08 13:16:47 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-06-08 13:16:47 +0000
commit9d9b90a41973a4a608f6c5db246dc705e489539e (patch)
tree6ede11d7d0414b641a609dd18fd2a0e5f632e4fb /games/gtkabale
parentc7189cf6955e730d29794ac25731fe34c3a5cabd (diff)
downloadports-9d9b90a41973a4a608f6c5db246dc705e489539e.tar.gz
ports-9d9b90a41973a4a608f6c5db246dc705e489539e.zip
Notes
Diffstat (limited to 'games/gtkabale')
-rw-r--r--games/gtkabale/Makefile11
-rw-r--r--games/gtkabale/pkg-plist22
2 files changed, 21 insertions, 12 deletions
diff --git a/games/gtkabale/Makefile b/games/gtkabale/Makefile
index 93244737c8f6..0990a2562a84 100644
--- a/games/gtkabale/Makefile
+++ b/games/gtkabale/Makefile
@@ -9,7 +9,7 @@ PORTNAME= gtkabale
PORTVERSION= 0.3
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= http://sf.gds.tuwien.ac.at/3/g/gt/gtkabale/
+MASTER_SITES= http://freebsd.unixfreunde.de/sources/
MAINTAINER= ports@FreeBSD.org
COMMENT= A lazy version of solitaire game
@@ -20,4 +20,13 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+CONFIGURE_ARGS+= --enable-nls
+PLIST_SUB= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB= NLS="@comment "
+.endif
+
.include <bsd.port.mk>
diff --git a/games/gtkabale/pkg-plist b/games/gtkabale/pkg-plist
index e0e3f7b19925..f33cbf68dd6c 100644
--- a/games/gtkabale/pkg-plist
+++ b/games/gtkabale/pkg-plist
@@ -1,12 +1,12 @@
bin/gtkabale
-share/gtkabale/ambiguous.png
-share/gtkabale/back.png
-share/gtkabale/cards.png
-share/gtkabale/game-lost.png
-share/gtkabale/game-won.png
-share/gtkabale/gtkrc
-share/gtkabale/help-no.png
-share/gtkabale/help-yes.png
-share/gtkabale/no-move.png
-share/locale/da/LC_MESSAGES/gtkabale.mo
-@dirrm share/gtkabale
+%%DATADIR%%/ambiguous.png
+%%DATADIR%%/back.png
+%%DATADIR%%/cards.png
+%%DATADIR%%/game-lost.png
+%%DATADIR%%/game-won.png
+%%DATADIR%%/gtkrc
+%%DATADIR%%/help-no.png
+%%DATADIR%%/help-yes.png
+%%DATADIR%%/no-move.png
+%%NLS%%share/locale/da/LC_MESSAGES/gtkabale.mo
+@dirrm %%DATADIR%%