diff options
author | billf <billf@FreeBSD.org> | 1999-12-10 21:13:42 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1999-12-10 21:13:42 +0000 |
commit | eeb2dbc8d87fc13f9b937f94fcc499f662567fee (patch) | |
tree | 335c4440861d51b2cd7adf6cd38eed83554f6262 /games/canfield | |
parent | da5ff8ce2a3b17bc02c075958b89e0fbb8f5b16b (diff) | |
download | FreeBSD-src-eeb2dbc8d87fc13f9b937f94fcc499f662567fee.zip FreeBSD-src-eeb2dbc8d87fc13f9b937f94fcc499f662567fee.tar.gz |
1. Don't overwrite scorefiles if they already exist.
PR: bin/13068
Submitted by: Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>
2. Sprinkle $FreeBSD$ around.
Diffstat (limited to 'games/canfield')
-rw-r--r-- | games/canfield/canfield/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/games/canfield/canfield/Makefile b/games/canfield/canfield/Makefile index a3b3a7c..bd361ab 100644 --- a/games/canfield/canfield/Makefile +++ b/games/canfield/canfield/Makefile @@ -1,4 +1,5 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 +# $FreeBSD$ PROG= canfield MAN6= canfield.6 @@ -8,8 +9,10 @@ HIDEGAME=hidegame MLINKS= canfield.6 cfscores.6 beforeinstall: +.if !exists(${DESTDIR}/var/games/cfscores) ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ ${DESTDIR}/var/games/cfscores +.endif .include "../../Makefile.inc" .include <bsd.prog.mk> |