freebsd-ports/games/xskat/Makefile
Dmitry Marakasov 33e3d901d4 Convert most of remaining ports that depend on xorg-libraries to
modular xorg.

- supply corresponding USE_XORG for all imake-using ports that need it
- USE_IMAKE no longer implies USE_XLIB in absence of USE_XORG
- retire USE_X_PREFIX which is not really used anywhere after the
  above change
- a few minor nits like whitespace and SF macro

Tested by:	2 tinderbox runs by pav
Approved by:	portmgr (pav)
2009-06-09 15:33:28 +00:00

42 lines
892 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
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.xskat.de/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@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
USE_XORG= x11
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>