aboutsummaryrefslogtreecommitdiff
path: root/games/xskat
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2004-06-15 11:59:26 +0000
committerThomas Gellekum <tg@FreeBSD.org>2004-06-15 11:59:26 +0000
commit7c7a21c883e5a83a5899d353477d6bdafc63d314 (patch)
tree158e7dd28eea08587d770a844b95d3873318e0cc /games/xskat
parent7e710503a4f3bab16c43c7aa7cdf7928c1de1c54 (diff)
downloadports-7c7a21c883e5a83a5899d353477d6bdafc63d314.tar.gz
ports-7c7a21c883e5a83a5899d353477d6bdafc63d314.zip
Allow compilation with a much more beautiful card set. That,
however, is not freely distributable, so it's not the default. PR: 67959 Submitted by: Jens Rehsack <rehsack@liwing.de>
Notes
Notes: svn path=/head/; revision=111544
Diffstat (limited to 'games/xskat')
-rw-r--r--games/xskat/Makefile19
-rw-r--r--games/xskat/distinfo2
2 files changed, 21 insertions, 0 deletions
diff --git a/games/xskat/Makefile b/games/xskat/Makefile
index 4a7c5814e284..56dfdac9cf9d 100644
--- a/games/xskat/Makefile
+++ b/games/xskat/Makefile
@@ -9,12 +9,31 @@ PORTNAME= xskat
PORTVERSION= 4.0
CATEGORIES= games
MASTER_SITES= http://www.xskat.de/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= tg@FreeBSD.org
COMMENT= Play the card game Skat
+.if defined(WITH_ALTENBURGER_CARDS)
+DISTFILES+= xskat-cards.tar.gz
+RESTRICTED= "The altenburger card file is NOT freely redistributable!"
+.endif
+
USE_IMAKE= yes
MAN1= xskat.1 xskat-de.1
PLIST_FILES= bin/xskat
+pre-fetch:
+.if !defined(WITH_ALTENBURGER_CARDS)
+ @${ECHO}
+ @${ECHO} "You can compile xskat with the beautiful original"
+ @${ECHO} "Altenburger card set by setting WITH_ALTENBURGER_CARDS"
+ @${ECHO}
+.endif
+
+post-patch:
+.if defined(WITH_ALTENBURGER_CARDS)
+ cd ${WRKSRC}; ${CP} ../xskat-cards.c cards.c
+.endif
+
.include <bsd.port.mk>
diff --git a/games/xskat/distinfo b/games/xskat/distinfo
index b8ec481f1db0..c5c8522284d0 100644
--- a/games/xskat/distinfo
+++ b/games/xskat/distinfo
@@ -1,2 +1,4 @@
MD5 (xskat-4.0.tar.gz) = 6744cea48a890771736b75083e7ea2b5
SIZE (xskat-4.0.tar.gz) = 179059
+MD5 (xskat-cards.tar.gz) = 1ff631c59714c011ae2f2d43cb65afc1
+SIZE (xskat-cards.tar.gz) = 187122