summaryrefslogtreecommitdiff
path: root/games/xskat/Makefile
blob: 86f056a2fffe0980ae2990753c4ef57a32fad194 (plain)
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
# $NetBSD: Makefile,v 1.17 2012/10/06 11:55:03 asau Exp $

DISTNAME=	xskat-4.0
#PKGREVISION=	2
CATEGORIES=	games
MASTER_SITES=	http://www.xskat.de/

.include "../../mk/bsd.prefs.mk"
.include "options.mk"

DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
.if defined(WITH_ALTENBURGER_CARDS)
DISTFILES+=	xskat-cards.tar.gz
.endif

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.xskat.de/xskat.html
COMMENT=	Play the card game Skat

USE_IMAKE=	yes

.include "../../mk/bsd.prefs.mk"

.if defined(DEFAULT_IRC_SERVER)
MAKE_ENV+=	IRC_SERVER=${DEFAULT_IRC_SERVER:Q}
.else
MAKE_ENV+=	IRC_SERVER=irc.fu-berlin.de
.endif

.if defined(WITH_ALTENBURGER_CARDS)
post-extract:
	cp ${WRKDIR}/xskat-cards.c ${WRKSRC}/cards.c
.endif

.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"