freebsd-ports/games/xskat/Makefile
Thomas Gellekum 7c7a21c883 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>
2004-06-15 11:59:26 +00:00

40 lines
859 B
Makefile

# 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>