ports/67959: [PATCH] adding cardset to games/xskat
Jens Rehsack
rehsack at liwing.de
Tue Jun 15 03:20:29 UTC 2004
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list