From 9d9b90a41973a4a608f6c5db246dc705e489539e Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 8 Jun 2006 13:16:47 +0000 Subject: [PATCH] Update MASTER_SITES PR: ports/97716 Submitted by: miwi Approved by: krion (mentor) --- games/gtkabale/Makefile | 11 ++++++++++- games/gtkabale/pkg-plist | 22 +++++++++++----------- 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 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%%