summaryrefslogtreecommitdiff
path: root/games/xpat2/Makefile
blob: cb4875c3ef382a57feb3264ec503b34ff182b109 (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
# $NetBSD: Makefile,v 1.12 2004/12/03 13:28:22 wiz Exp $
# FreeBSD: ports/games/xpat2/Makefile,v 1.11 2000/04/14 12:27:59 asami Exp

DISTNAME=	xpat2-1.07
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SUNSITE:=games/solitaires/}
EXTRACT_SUFX=	-src.tar.gz

MAINTAINER=	kuebart@mathematik.uni-ulm.de
COMMENT=	X11 solitaire game with 14 variations

PKG_INSTALLATION_TYPES=	overwrite pkgviews

USE_BUILDLINK3=	YES
USE_PKGINSTALL=	YES
USE_X11BASE=	YES

# This package uses imake, but invokes it directly as part of the build
# procedure.
#
#USE_IMAKE=	YES

MAKE_ENV+=	XPMDIR="${BUILDLINK_PREFIX.xpm}" XMKMF="${XMKMF}"

SUPPORT_FILES_PERMS=	/dev/null /var/games/xpat.log ${GAMEOWN} ${GAMEGRP} ${GAMEMODE}
MAKE_DIRS=		/var/games

post-install:
	${CHOWN} ${GAMEOWN}.${GAMEGRP} ${PREFIX}/bin/xpat2
	${CHMOD} ${GAMEMODE} ${PREFIX}/bin/xpat2

.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"