aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-06-08 21:16:47 +0800
committermiwi <miwi@FreeBSD.org>2006-06-08 21:16:47 +0800
commitf948ef9ee7be435fdb153e5f296ef7e45c265260 (patch)
treedffe95204811acf32bc96a49579a96c3d8d14d08
parent4a15320eb8519ea6a0e1a2caa7e1a15eaaf13788 (diff)
downloadfreebsd-ports-gnome-f948ef9ee7be435fdb153e5f296ef7e45c265260.tar.gz
freebsd-ports-gnome-f948ef9ee7be435fdb153e5f296ef7e45c265260.tar.zst
freebsd-ports-gnome-f948ef9ee7be435fdb153e5f296ef7e45c265260.zip
Update MASTER_SITES
PR: ports/97716 Submitted by: miwi Approved by: krion (mentor)
-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%%