diff options
author | tg <tg@FreeBSD.org> | 2004-06-15 19:59:26 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2004-06-15 19:59:26 +0800 |
commit | 367f6efe3010caae6c82484242f5d5547e4ed438 (patch) | |
tree | fa85199a2c8bcd1deba8c5d5a364b10ffb1d8341 /games/xskat | |
parent | f0e79784663d9498fa2809fa016850f156cb1be4 (diff) | |
download | freebsd-ports-gnome-367f6efe3010caae6c82484242f5d5547e4ed438.tar.gz freebsd-ports-gnome-367f6efe3010caae6c82484242f5d5547e4ed438.tar.zst freebsd-ports-gnome-367f6efe3010caae6c82484242f5d5547e4ed438.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>
Diffstat (limited to 'games/xskat')
-rw-r--r-- | games/xskat/Makefile | 19 | ||||
-rw-r--r-- | games/xskat/distinfo | 2 |
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 |