Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2004 03:14:29 GMT
From:      Jens Rehsack <rehsack@liwing.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tg@FreeBSD.org
Subject:   ports/67959: [PATCH] adding cardset to games/xskat
Message-ID:  <200406150314.i5F3ETmS061128@helo.liwing.de>
Resent-Message-ID: <200406150320.i5F3KKFt016930@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         67959
>Category:       ports
>Synopsis:       [PATCH] adding cardset to games/xskat
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 15 03:20:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jens Rehsack
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
LiWing IT-Services
>Environment:
System: FreeBSD statler 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Mon May 17 08:44:19 GMT 2004 root@statler:/usr/obj/usr/src/sys/STATLER i386


	
>Description:
	This patch adds a new cardset to games/xskat which hopefully stop
	the torture for everyones eyes using the new xskat-4.0.
	Usually I rank beautifying not a higher as do-it-when-time, but
	this time it was to awful ;-)
>How-To-Repeat:
	
>Fix:

	

--- patch-with_altenburger_cards begins here ---
Index: games/xskat/Makefile
===================================================================
diff -u games/xskat/Makefile.orig games/xskat/Makefile
--- games/xskat/Makefile.orig	Tue Jun 15 02:44:21 2004
+++ games/xskat/Makefile	Tue Jun 15 03:06:14 2004
@@ -9,12 +9,31 @@
 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 compiler 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>
Index: games/xskat/distinfo
===================================================================
diff -u games/xskat/distinfo.orig games/xskat/distinfo
--- games/xskat/distinfo.orig	Tue Jun 15 02:44:26 2004
+++ games/xskat/distinfo	Tue Jun 15 02:52:11 2004
@@ -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
--- patch-with_altenburger_cards ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406150314.i5F3ETmS061128>