aboutsummaryrefslogtreecommitdiffstats
path: root/games/xmris/Makefile
blob: 4d2bbcaa75082a24faa2a2f2652bc5fdc61a430a (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
31
32
33
# New ports collection makefile for:    xmris
# Date created:         21 September 1994
# Whom:                 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

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