summaryrefslogtreecommitdiff
path: root/games/xmris/Makefile
blob: ed296c002a35b7d2215877b8d575579f196f26ab (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
# Created by: jmz
# $FreeBSD$

PORTNAME=	xmris
PORTVERSION=	4.04
PORTREVISION=	3
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR=	games
DISTNAME=	${PORTNAME}.${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A version of the Mr Do video arcade game for X11

USES=		imake
USE_XORG=	x11 xext xaw xmu xt sm ice
MAKE_FLAGS=	XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -f
ALL_TARGET=	xmris xmred
MAN6=		xmred.6 xmris.6 xmsit.6

post-configure:
	cd ${WRKSRC} && ${REINPLACE_CMD} -e 's/MANSUFFIX = 1/MANSUFFIX = 6/' \
	  -e 's/OWNER = -o games/OWNER = -g games/' \
	  -e 's/^INSTMRISFLAGS.*/INSTMRISFLAGS = \$(OWNER) -m 2555/' Makefile

post-install:
	@${CHMOD} g+w ${LOCALBASE}/lib/X11/xmris

.include <bsd.port.mk>