From 7c7a21c883e5a83a5899d353477d6bdafc63d314 Mon Sep 17 00:00:00 2001 From: Thomas Gellekum Date: Tue, 15 Jun 2004 11:59:26 +0000 Subject: 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 --- games/xskat/Makefile | 19 +++++++++++++++++++ games/xskat/distinfo | 2 ++ 2 files changed, 21 insertions(+) (limited to 'games/xskat') 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 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 -- cgit v1.2.3