summaryrefslogtreecommitdiff
path: root/games/tetris/Makefile
blob: 473ec891619ae86a9e3c92ab96800cf9c00c4ab7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#	$OpenBSD: Makefile,v 1.5 1998/09/24 06:45:07 pjanzen Exp $

PROG=	tetris
SRCS=	input.c screen.c shapes.c scores.c tetris.c
MAN=	tetris.6
DPADD=	${LIBCURSES}
LDADD=	-lcurses
HIDEGAME=hidegame

beforeinstall:
	@if [ ! -f ${DESTDIR}/var/games/tetris.scores ]; then \
	    ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 664 \
		/dev/null ${DESTDIR}/var/games/tetris.scores ; \
	else \
		true ; \
	fi

.include <bsd.prog.mk>