aboutsummaryrefslogtreecommitdiffstats
path: root/games/xskat/Makefile
blob: 56dfdac9cf9da476f487bb332bbd9c910a5d68ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:    xskat
# Date created:     27 Apr 1996
# Whom:         Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

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>