Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2006 22:19:23 +0200
From:      "Martin Wilke" <freebsd@unixfreunde.de>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/97716: [patch] games/gtkabale
Message-ID:  <1148415563.69361@mwilke.ath.cx>
Resent-Message-ID: <200605232020.k4NKKHnH074547@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97716
>Category:       ports
>Synopsis:       [patch] games/gtkabale
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 23 20:20:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Martin Wilke
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 7.0-CURRENT #142: Thu May 18 07:57:01 CEST 2006
    splash@mwilke.ath.cx:/usr/obj/usr/src/sys/BSDBOX



>Description:


- change mirror

Fix: http://people.freebsd.org/%7Efenner/portsurvey/games.html#gtkabale


>How-To-Repeat:





>Fix:


--- gtkabale.diff begins here ---
diff -ruN /usr/ports/games/gtkabale/Makefile ports/games/gtkabale/Makefile
--- /usr/ports/games/gtkabale/Makefile	Tue Mar  7 16:20:47 2006
+++ ports/games/gtkabale/Makefile	Tue May 23 12:20:32 2006
@@ -9,7 +9,7 @@
 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
@@ -19,5 +19,14 @@
 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 -ruN /usr/ports/games/gtkabale/pkg-plist ports/games/gtkabale/pkg-plist
--- /usr/ports/games/gtkabale/pkg-plist	Mon Jan 31 05:09:08 2000
+++ ports/games/gtkabale/pkg-plist	Tue May 23 12:21:35 2006
@@ -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%%
--- gtkabale.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1148415563.69361>