pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/xskat Updating games/xskat from 3.4nb2 to 4.0:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/051e95c9ccf5
branches:  trunk
changeset: 576208:051e95c9ccf5
user:      sno <sno%pkgsrc.org@localhost>
date:      Thu Jun 03 16:27:43 2010 +0000

description:
Updating games/xskat from 3.4nb2 to 4.0:
- added option to use separate downloadable altenburger cards

Upstream changes:
- AI improved
- UI improved

diffstat:

 games/xskat/Makefile   |  27 ++++++++++++++++++++-------
 games/xskat/distinfo   |  11 +++++++----
 games/xskat/options.mk |  12 ++++++++++++
 3 files changed, 39 insertions(+), 11 deletions(-)

diffs (79 lines):

diff -r 732333bedd67 -r 051e95c9ccf5 games/xskat/Makefile
--- a/games/xskat/Makefile      Thu Jun 03 16:07:58 2010 +0000
+++ b/games/xskat/Makefile      Thu Jun 03 16:27:43 2010 +0000
@@ -1,16 +1,24 @@
-# $NetBSD: Makefile,v 1.15 2008/07/14 12:56:04 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2010/06/03 16:27:43 sno Exp $
+
+DISTNAME=      xskat-4.0
+#PKGREVISION=  2
+CATEGORIES=    games
+MASTER_SITES=  http://www.xskat.de/
 
-DISTNAME=      xskat-3.4
-PKGREVISION=   2
-CATEGORIES=    games
-MASTER_SITES=  http://www.gulu.net/xskat/
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
+
+DISTFILES=     ${DISTNAME}${EXTRACT_SUFX}
+.if defined(WITH_ALTENBURGER_CARDS)
+DISTFILES+=    xskat-cards.tar.gz
+.endif
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.xskat.de/xskat.html
 COMMENT=       Play the card game Skat
 
-PKG_DESTDIR_SUPPORT=   user-destdir
-
 USE_IMAKE=     yes
 
 .include "../../mk/bsd.prefs.mk"
@@ -21,5 +29,10 @@
 MAKE_ENV+=     IRC_SERVER=irc.fu-berlin.de
 .endif
 
+.if defined(WITH_ALTENBURGER_CARDS)
+post-extract:
+       cp ${WRKDIR}/xskat-cards.c ${WRKSRC}/cards.c
+.endif
+
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 732333bedd67 -r 051e95c9ccf5 games/xskat/distinfo
--- a/games/xskat/distinfo      Thu Jun 03 16:07:58 2010 +0000
+++ b/games/xskat/distinfo      Thu Jun 03 16:27:43 2010 +0000
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 23:12:05 agc Exp $
+$NetBSD: distinfo,v 1.4 2010/06/03 16:27:43 sno Exp $
 
-SHA1 (xskat-3.4.tar.gz) = dd74fdb8234ab05fc688a0a95217ca33777bb986
-RMD160 (xskat-3.4.tar.gz) = b5467afea2a563cbba25be3d6528937741a9abb8
-Size (xskat-3.4.tar.gz) = 291348 bytes
+SHA1 (xskat-4.0.tar.gz) = b90859742b62369273d2683bd69006713e1e214d
+RMD160 (xskat-4.0.tar.gz) = 3a0da1171aff2f638c050114f13b4cfcdf198d4e
+Size (xskat-4.0.tar.gz) = 179059 bytes
+SHA1 (xskat-cards.tar.gz) = fda81da8806640cfea7636647b3b2617e84bdc4a
+RMD160 (xskat-cards.tar.gz) = 807ecb990a796cd7bf9852fd4175daef2ea8bc75
+Size (xskat-cards.tar.gz) = 187122 bytes
 SHA1 (patch-aa) = 95c42daaa5d713d72514908dfe4af284a774c6c7
diff -r 732333bedd67 -r 051e95c9ccf5 games/xskat/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/xskat/options.mk    Thu Jun 03 16:27:43 2010 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2010/06/03 16:27:43 sno Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.xskat
+
+PKG_SUPPORTED_OPTIONS= altenburger_cards
+PKG_SUGGESTED_OPTIONS= # empty
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Maltenburger_cards)
+WITH_ALTENBURGER_CARDS=1
+.endif



Home | Main Index | Thread Index | Old Index