1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/games/xmris/Makefile

32 lines
774 B
Makefile

# 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
NO_STAGE= yes
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>