summaryrefslogtreecommitdiff
path: root/games/xmris/Makefile
blob: ee56d4508ccf0685a5976b13fa1f7d9bd0ecf012 (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
# New ports collection makefile for:    xmris
# Date created:         21 September 1994
# Whom:                 jmz
#
# $FreeBSD$

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

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

USE_IMAKE=	yes
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>