head	1.10;
access;
symbols
	RELENG_4_11_0_RELEASE:1.5.2.3
	RELENG_4_11:1.5.2.3.0.10
	RELENG_4_11_BP:1.5.2.3
	RELENG_4_10_0_RELEASE:1.5.2.3
	RELENG_4_10:1.5.2.3.0.8
	RELENG_4_10_BP:1.5.2.3
	RELENG_4_9_0_RELEASE:1.5.2.3
	RELENG_4_9:1.5.2.3.0.6
	RELENG_4_9_BP:1.5.2.3
	RELENG_4_8_0_RELEASE:1.5.2.3
	RELENG_4_8:1.5.2.3.0.4
	RELENG_4_8_BP:1.5.2.3
	RELENG_4_7_0_RELEASE:1.5.2.3
	RELENG_4_7:1.5.2.3.0.2
	RELENG_4_7_BP:1.5.2.3
	RELENG_4_6_2_RELEASE:1.5.2.1
	RELENG_4_6_1_RELEASE:1.5.2.1
	RELENG_4_6_0_RELEASE:1.5.2.1
	RELENG_4_6:1.5.2.1.0.6
	RELENG_4_6_BP:1.5.2.1
	RELENG_4_5_0_RELEASE:1.5.2.1
	RELENG_4_5:1.5.2.1.0.4
	RELENG_4_5_BP:1.5.2.1
	RELENG_4_4_0_RELEASE:1.5.2.1
	RELENG_4_4:1.5.2.1.0.2
	RELENG_4_4_BP:1.5.2.1
	RELENG_4_3_0_RELEASE:1.5
	RELENG_4_3:1.5.0.4
	RELENG_4_3_BP:1.5
	RELENG_4_2_0_RELEASE:1.5
	RELENG_4_1_1_RELEASE:1.5
	PRE_SMPNG:1.5
	RELENG_4_1_0_RELEASE:1.5
	RELENG_3_5_0_RELEASE:1.4
	RELENG_4_0_0_RELEASE:1.5
	RELENG_4:1.5.0.2
	RELENG_4_BP:1.5
	RELENG_3_4_0_RELEASE:1.4
	RELENG_3_3_0_RELEASE:1.4
	RELENG_3_2_PAO:1.4.0.4
	RELENG_3_2_PAO_BP:1.4
	RELENG_3_2_0_RELEASE:1.4
	RELENG_3_1_0_RELEASE:1.4
	RELENG_3:1.4.0.2
	RELENG_3_BP:1.4
	RELENG_2_2_8_RELEASE:1.3.2.1
	RELENG_3_0_0_RELEASE:1.4
	RELENG_2_2_7_RELEASE:1.3.2.1
	RELENG_2_2_6_RELEASE:1.3.2.1
	RELENG_2_2_5_RELEASE:1.3
	RELENG_2_2_2_RELEASE:1.3
	RELENG_2_2_1_RELEASE:1.3
	RELENG_2_2_0_RELEASE:1.3
	RELENG_2_1_7_RELEASE:1.2.6.3
	RELENG_2_1_6_1_RELEASE:1.2.6.3
	RELENG_2_1_6_RELEASE:1.2.6.3
	RELENG_2_2:1.3.0.2
	RELENG_2_2_BP:1.3
	RELENG_2_1_5_RELEASE:1.2.6.3
	RELENG_2_1_0_RELEASE:1.2
	RELENG_2_1_0:1.2.0.6
	RELENG_2_1_0_BP:1.2
	RELENG_2_0_5_RELEASE:1.2
	RELENG_2_0_5:1.2.0.4
	RELENG_2_0_5_BP:1.2
	RELENG_2_0_5_ALPHA:1.2
	RELEASE_2_0:1.2
	BETA_2_0:1.2
	ALPHA_2_0:1.2.0.2
	games:1.1.1.1;
locks; strict;
comment	@# @;


1.10
date	2002.10.21.07.40.24;	author markm;	state dead;
branches;
next	1.9;

1.9
date	2002.07.29.09.40.07;	author ru;	state Exp;
branches;
next	1.8;

1.8
date	2002.07.18.12.07.45;	author ru;	state Exp;
branches;
next	1.7;

1.7
date	2001.03.26.14.21.00;	author ru;	state Exp;
branches;
next	1.6;

1.6
date	2001.03.20.18.08.42;	author ru;	state Exp;
branches;
next	1.5;

1.5
date	99.12.10.21.13.42;	author billf;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	97.09.24.02.34.53;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	96.02.02.17.48.46;	author mpp;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	94.09.11.21.32.23;	author rgrimes;	state Exp;
branches
	1.2.6.1;
next	1.1;

1.1
date	94.09.04.04.03.18;	author jkh;	state Exp;
branches
	1.1.1.1;
next	;

1.5.2.1
date	2001.04.25.09.29.03;	author ru;	state Exp;
branches;
next	1.5.2.2;

1.5.2.2
date	2002.07.18.13.31.22;	author ru;	state Exp;
branches;
next	1.5.2.3;

1.5.2.3
date	2002.08.07.16.31.42;	author ru;	state Exp;
branches;
next	1.5.2.4;

1.5.2.4
date	2012.11.17.07.22.49;	author svnexp;	state Exp;
branches;
next	;

1.3.2.1
date	98.03.01.17.41.58;	author jkh;	state Exp;
branches;
next	;

1.2.6.1
date	96.05.29.22.27.38;	author jkh;	state Exp;
branches;
next	1.2.6.2;

1.2.6.2
date	96.06.05.02.38.18;	author jkh;	state Exp;
branches;
next	1.2.6.3;

1.2.6.3
date	96.06.23.07.52.23;	author jkh;	state Exp;
branches;
next	;

1.1.1.1
date	94.09.04.04.03.19;	author jkh;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Deorbit complete. We dont build these anymore, so into the attic they go.
@
text
@#	@@(#)Makefile	8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/snake/snake/Makefile,v 1.9 2002/07/29 09:40:07 ru Exp $

PROG=	snake
SRCS=	snake.c move.c
MAN=	snake.6
DPADD=	${LIBM} ${LIBTERMCAP} ${LIBCOMPAT}
LDADD=	-lm -ltermcap -lcompat
HIDEGAME=hidegame
MLINKS=	snake.6 snscore.6

beforeinstall:
.if !exists(${DESTDIR}/var/games/snakerawscores)
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
	    ${DESTDIR}/var/games/snakerawscores
.endif
.if !exists(${DESTDIR}/var/games/snake.log)
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
	    ${DESTDIR}/var/games/snake.log
.endif

.include "../../Makefile.inc"
.include <bsd.prog.mk>
@


1.9
log
@Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.8
log
@s/${INSTALL} -c/${INSTALL} ${COPY}/
@
text
@d14 1
a14 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
d18 1
a18 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
@


1.7
log
@- Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/games/snake/snake/Makefile,v 1.6 2001/03/20 18:08:42 ru Exp $
d14 1
a14 1
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
d18 1
a18 1
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
@


1.6
log
@Set the default manual section for games/ to 6.
@
text
@d2 1
a2 1
# $FreeBSD: src/games/snake/snake/Makefile,v 1.5 1999/12/10 21:13:42 billf Exp $
d6 1
@


1.5
log
@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.
@
text
@d2 1
a2 1
# $FreeBSD$
a5 1
MAN6=	snake.6
@


1.5.2.1
log
@MFC: MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/games/snake/snake/Makefile,v 1.5 1999/12/10 21:13:42 billf Exp $
d6 1
a6 1
MAN=	snake.6
@


1.5.2.2
log
@MFC: s/${INSTALL} -c/${INSTALL} ${COPY}/
@
text
@d2 1
a2 1
# $FreeBSD$
d14 1
a14 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
d18 1
a18 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
@


1.5.2.3
log
@MFC: Drop support for COPY.
@
text
@d14 1
a14 1
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
d18 1
a18 1
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
@


1.5.2.4
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/games/snake/snake/Makefile 101469 2002-08-07 16:32:02Z ru $
@


1.4
log
@Beforeinstall scores and log file to prevent them owned by
first who run snake
snake.c: cleanup, use srandomdev() now, fix created file permissions
@
text
@d2 1
d13 1
d16 2
d20 1
@


1.3
log
@Add some missing manual page links.
@
text
@d11 6
@


1.3.2.1
log
@MFC: major merge - bring all the arc4random support in now that it's
in 2.2.
@
text
@a10 6
beforeinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
	    ${DESTDIR}/var/games/snakerawscores
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
	    ${DESTDIR}/var/games/snake.log

@


1.2
log
@Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap
@
text
@d9 1
@


1.2.6.1
log
@Merge from HEAD, except:

	Clients that used gnumalloc still do, despite the merge.  We're not
	bringing phkmalloc over.

	Thread stuff left out.

	PCCARD support left out.
@
text
@a8 1
MLINKS=	snake.6 snscore.6
@


1.2.6.2
log
@This 3rd mega-commit should hopefully bring us back to where we were.
I can get it to `make world' succesfully, anyway!
@
text
@d9 1
@


1.2.6.3
log
@Merge various useful things from HEAD.
@
text
@a8 1
MLINKS=	snake.6 snscore.6
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
DPADD=	${LIBM} ${LIBTERM} ${LIBCOMPAT}
@


1.1.1.1
log
@Bring in the 4.4 Lite games directory, modulo man page changes and segregation
of the x11 based games.  I'm not going to tag the originals with bsd_44_lite
and do this in two stages since it's just not worth it for this collection,
and I've got directory renames to deal with that way.  Bleah.
Submitted by:	jkh
@
text
@@
