From eeb2dbc8d87fc13f9b937f94fcc499f662567fee Mon Sep 17 00:00:00 2001 From: billf Date: Fri, 10 Dec 1999 21:13:42 +0000 Subject: 1. Don't overwrite scorefiles if they already exist. PR: bin/13068 Submitted by: Dominic Mitchell 2. Sprinkle $FreeBSD$ around. --- games/robots/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'games/robots/Makefile') diff --git a/games/robots/Makefile b/games/robots/Makefile index 18503e0..6ef8d9c 100644 --- a/games/robots/Makefile +++ b/games/robots/Makefile @@ -1,4 +1,5 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 +# $FreeBSD$ PROG= robots CFLAGS+=-DMAX_PER_UID=5 @@ -10,7 +11,9 @@ LDADD= -lcurses -ltermcap -lcompat HIDEGAME=hidegame beforeinstall: +.if !exists(${DESTDIR}/var/games/robots_roll) ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ ${DESTDIR}/var/games/robots_roll +.endif .include -- cgit v1.1