summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorshattered <shattered@pkgsrc.org>2011-04-16 17:44:07 +0000
committershattered <shattered@pkgsrc.org>2011-04-16 17:44:07 +0000
commitc5777898920204423fd304225ab36c50f90424ec (patch)
treeb6d04fca24b1ce669511090d121a3727c678da7e /games
parent3c526f07c9b088bb5d41913fa62330cb5184db92 (diff)
downloadpkgsrc-c5777898920204423fd304225ab36c50f90424ec.tar.gz
Update to 1.0.4. Changes:
- replaced graphics and removed logo (part of background now) - don't save cards to current working directory - fixed bad color key of logo - fixed distortion for non-square icons - i18n support
Diffstat (limited to 'games')
-rw-r--r--games/lpairs/Makefile9
-rw-r--r--games/lpairs/PLIST4
-rw-r--r--games/lpairs/distinfo9
-rw-r--r--games/lpairs/patches/patch-aa14
4 files changed, 27 insertions, 9 deletions
diff --git a/games/lpairs/Makefile b/games/lpairs/Makefile
index dd1588293a7..d657f04819b 100644
--- a/games/lpairs/Makefile
+++ b/games/lpairs/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2008/07/14 12:56:04 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2011/04/16 17:44:07 shattered Exp $
-DISTNAME= lpairs-1.0.1
-PKGREVISION= 4
+DISTNAME= lpairs-1.0.4
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lgames/}
@@ -11,7 +10,11 @@ COMMENT= Memory game matching pairs of cards
PKG_DESTDIR_SUPPORT= user-destdir
+USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --without-included-gettext
+LDFLAGS+= ${BUILDLINK_LDADD.gettext}
+.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/lpairs/PLIST b/games/lpairs/PLIST
index 816df78c2c2..6d6822cdd77 100644
--- a/games/lpairs/PLIST
+++ b/games/lpairs/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:56:51 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2011/04/16 17:44:07 shattered Exp $
bin/lpairs
share/games/lpairs/gfx/0.bmp
share/games/lpairs/gfx/1.bmp
@@ -24,9 +24,9 @@ share/games/lpairs/gfx/back.bmp
share/games/lpairs/gfx/button.bmp
share/games/lpairs/gfx/f_white.bmp
share/games/lpairs/gfx/f_yellow.bmp
-share/games/lpairs/gfx/logo.bmp
share/games/lpairs/gfx/stan_font.bmp
share/games/lpairs/gfx/title.bmp
share/games/lpairs/sound/click.wav
share/games/lpairs/sound/fail.wav
share/games/lpairs/sound/remove.wav
+share/locale/de/LC_MESSAGES/lpairs.mo
diff --git a/games/lpairs/distinfo b/games/lpairs/distinfo
index cd3b072a67d..13f0411e2d6 100644
--- a/games/lpairs/distinfo
+++ b/games/lpairs/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 23:12:00 agc Exp $
+$NetBSD: distinfo,v 1.4 2011/04/16 17:44:07 shattered Exp $
-SHA1 (lpairs-1.0.1.tar.gz) = 4094c77bee155f1e32c87886f772aae9ca04e1fd
-RMD160 (lpairs-1.0.1.tar.gz) = f27d9d57569f78f9361b21fc305b657d3ec79e72
-Size (lpairs-1.0.1.tar.gz) = 418431 bytes
+SHA1 (lpairs-1.0.4.tar.gz) = 4e7c8d9b55ccb8c740d8125c116347cf7bb36fb4
+RMD160 (lpairs-1.0.4.tar.gz) = ca4a23bc536dba7da625eb3485258381de003c5d
+Size (lpairs-1.0.4.tar.gz) = 536625 bytes
+SHA1 (patch-aa) = 59a134c074cf9b0ff2aeef297fc88e06ed6a977a
diff --git a/games/lpairs/patches/patch-aa b/games/lpairs/patches/patch-aa
new file mode 100644
index 00000000000..3af3c118a43
--- /dev/null
+++ b/games/lpairs/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.3 2011/04/16 17:45:17 shattered Exp $
+
+--- lpairs/main.c.orig 2008-08-24 17:43:16.000000000 +0000
++++ lpairs/main.c
+@@ -23,6 +23,9 @@
+ #include <stdlib.h>
+ #include <time.h>
+ #include <SDL/SDL.h>
++#ifdef ENABLE_NLS
++#include <locale.h>
++#endif
+ #include "gettext.h"
+ #include "sdl.h"
+ #include "dynlist.h"