summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2010-06-03 16:27:43 +0000
committersno <sno@pkgsrc.org>2010-06-03 16:27:43 +0000
commit1ab6035cb7da1fdc3403b456bb79891fd084e3cb (patch)
tree42ebf1ab00a3ab0f1aa0713393ab6133d63e4061 /games
parent312ccccd8a4644c790ec495a063d6b76b89a9b5c (diff)
downloadpkgsrc-1ab6035cb7da1fdc3403b456bb79891fd084e3cb.tar.gz
Updating games/xskat from 3.4nb2 to 4.0:
- added option to use separate downloadable altenburger cards Upstream changes: - AI improved - UI improved
Diffstat (limited to 'games')
-rw-r--r--games/xskat/Makefile25
-rw-r--r--games/xskat/distinfo11
-rw-r--r--games/xskat/options.mk12
3 files changed, 38 insertions, 10 deletions
diff --git a/games/xskat/Makefile b/games/xskat/Makefile
index 4b19eac1c5c..cdc27e374b8 100644
--- a/games/xskat/Makefile
+++ b/games/xskat/Makefile
@@ -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-3.4
-PKGREVISION= 2
+DISTNAME= xskat-4.0
+#PKGREVISION= 2
CATEGORIES= games
-MASTER_SITES= http://www.gulu.net/xskat/
+MASTER_SITES= http://www.xskat.de/
+
+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
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=${DEFAULT_IRC_SERVER:Q}
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 --git a/games/xskat/distinfo b/games/xskat/distinfo
index aa6b7fb7ed8..822fd911bc2 100644
--- a/games/xskat/distinfo
+++ b/games/xskat/distinfo
@@ -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 --git a/games/xskat/options.mk b/games/xskat/options.mk
new file mode 100644
index 00000000000..b955cfc11cc
--- /dev/null
+++ b/games/xskat/options.mk
@@ -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