head	1.13;
access;
symbols
	RELENG_4_11_0_RELEASE:1.6.2.5
	RELENG_4_11:1.6.2.5.0.10
	RELENG_4_11_BP:1.6.2.5
	RELENG_4_10_0_RELEASE:1.6.2.5
	RELENG_4_10:1.6.2.5.0.8
	RELENG_4_10_BP:1.6.2.5
	RELENG_4_9_0_RELEASE:1.6.2.5
	RELENG_4_9:1.6.2.5.0.6
	RELENG_4_9_BP:1.6.2.5
	RELENG_4_8_0_RELEASE:1.6.2.5
	RELENG_4_8:1.6.2.5.0.4
	RELENG_4_8_BP:1.6.2.5
	RELENG_4_7_0_RELEASE:1.6.2.5
	RELENG_4_7:1.6.2.5.0.2
	RELENG_4_7_BP:1.6.2.5
	RELENG_4_6_2_RELEASE:1.6.2.3
	RELENG_4_6_1_RELEASE:1.6.2.3
	RELENG_4_6_0_RELEASE:1.6.2.3
	RELENG_4_6:1.6.2.3.0.2
	RELENG_4_6_BP:1.6.2.3
	RELENG_4_5_0_RELEASE:1.6.2.1
	RELENG_4_5:1.6.2.1.0.4
	RELENG_4_5_BP:1.6.2.1
	RELENG_4_4_0_RELEASE:1.6.2.1
	RELENG_4_4:1.6.2.1.0.2
	RELENG_4_4_BP:1.6.2.1
	RELENG_4_3_0_RELEASE:1.6
	RELENG_4_3:1.6.0.4
	RELENG_4_3_BP:1.6
	RELENG_4_2_0_RELEASE:1.6
	RELENG_4_1_1_RELEASE:1.6
	PRE_SMPNG:1.6
	RELENG_4_1_0_RELEASE:1.6
	RELENG_3_5_0_RELEASE:1.5
	RELENG_4_0_0_RELEASE:1.6
	RELENG_4:1.6.0.2
	RELENG_4_BP:1.6
	RELENG_3_4_0_RELEASE:1.5
	RELENG_3_3_0_RELEASE:1.5
	RELENG_3_2_PAO:1.5.0.4
	RELENG_3_2_PAO_BP:1.5
	RELENG_3_2_0_RELEASE:1.5
	RELENG_3_1_0_RELEASE:1.5
	RELENG_3:1.5.0.2
	RELENG_3_BP:1.5
	RELENG_2_2_8_RELEASE:1.3.2.1
	RELENG_3_0_0_RELEASE:1.5
	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.13
date	2002.10.21.07.40.17;	author markm;	state dead;
branches;
next	1.12;

1.12
date	2002.07.29.09.40.06;	author ru;	state Exp;
branches;
next	1.11;

1.11
date	2002.07.18.12.07.45;	author ru;	state Exp;
branches;
next	1.10;

1.10
date	2001.12.17.15.23.57;	author ru;	state Exp;
branches;
next	1.9;

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

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

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

1.6
date	99.12.10.21.13.38;	author billf;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	97.09.24.01.27.24;	author ache;	state Exp;
branches;
next	1.4;

1.4
date	97.02.09.02.52.22;	author wosch;	state Exp;
branches;
next	1.3;

1.3
date	95.07.25.00.30.46;	author bde;	state Exp;
branches
	1.3.2.1;
next	1.2;

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

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

1.6.2.1
date	2001.04.25.09.28.57;	author ru;	state Exp;
branches;
next	1.6.2.2;

1.6.2.2
date	2002.02.18.15.46.56;	author ru;	state Exp;
branches;
next	1.6.2.3;

1.6.2.3
date	2002.02.18.16.02.43;	author ru;	state Exp;
branches;
next	1.6.2.4;

1.6.2.4
date	2002.07.18.13.31.21;	author ru;	state Exp;
branches;
next	1.6.2.5;

1.6.2.5
date	2002.08.07.16.31.42;	author ru;	state Exp;
branches;
next	1.6.2.6;

1.6.2.6
date	2012.11.17.07.22.45;	author svnexp;	state Exp;
branches;
next	;

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

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

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

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

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


desc
@@


1.13
log
@Deorbit complete. We dont build these anymore, so into the attic they go.
@
text
@#	@@(#)Makefile	5.12 (Berkeley) 5/30/93
# $FreeBSD: src/games/larn/Makefile,v 1.12 2002/07/29 09:40:06 ru Exp $

# EXTRA
#	Incorporates code to gather additional performance statistics
# SYSV
#	Use system III/V (instead of V7) type ioctl calls
# BSD
#	Use BSD specific features (mostly timer and signal stuff)
# BSD4.1
#	Use BSD4.1 to avoid some 4.2 dependencies (must be used with
#	BSD above; do not mix with SYSV)
# HIDEBYLINK
#	If defined, the program attempts to hide from ps
# DOCHECKPOINTS
#	If not defined, checkpoint files are periodically written by the
#	larn process (no forking) if enabled in the .larnopts description
#	file.  Checkpointing is handy on an unreliable system, but takes
#	CPU. Inclusion of DOCHECKPOINTS will cause fork()ing to perform the
#	checkpoints (again if enabled in the .larnopts file).  This usually
#	avoids pauses in larn while the checkpointing is being done (on
#	large machines).
# VER
#	This is the version of the software, example:  12
# SUBVER
#	This is the revision of the software, example:  1
# FLUSHNO=#
#	Set the input queue excess flushing threshold (default 5)
# NOVARARGS
#	Define for systems that don't have varargs (a default varargs will
#	be used).
# MACRORND
#	Define to use macro version of rnd() and rund() (fast and big)
# UIDSCORE
#	Define to use user id's to manage scoreboard.  Leaving this out will
#	cause player id's from the file ".playerids" to be used instead.
#	(.playerids is created upon demand).  Only one entry per id # is
#	allowed in each scoreboard (winning & non-winning).
#  VT100
#	Compile for using vt100 family of terminals.  Omission of this
#	define will cause larn to use termcap, but it will be MUCH slower
#	due to an extra layer of output interpretation.  Also, only VT100
#	mode allows 2 different standout modes, inverse video, and bold video.
#	And only in VT100 mode is the scrolling region of the terminal used
#	(much nicer than insert/delete line sequences to simulate it, if
#	VT100 is omitted).
# NONAP
#	This causes napms() to return immediately instead of delaying n
#	milliseconds.  This define may be needed on some systems if the nap
#	stuff does not work correctly (possible hang).  nap() is primarilly
#	used to delay for effect when casting missile type spells.
# NOLOG
#	Turn off logging.

PROG=	larn
MAN=	larn.6
CFLAGS+=-DBSD -DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE -fwritable-strings
SRCS=	main.c object.c create.c tok.c display.c global.c data.c io.c \
	monster.c store.c diag.c help.c config.c nap.c bill.c scores.c \
	signal.c moreobj.c movem.c regen.c fortune.c savelev.c
DPADD=	${LIBTERMCAP} ${LIBCOMPAT}
LDADD=	-ltermcap -lcompat
FILES=	larnmaze larnopts larn.help
FILESDIR=	${SHAREDIR}/games/larn
HIDEGAME=hidegame

.PATH: ${.CURDIR}/datfiles

beforeinstall:
.if !exists(${DESTDIR}/var/games/larn/lscore12.0)
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
	    ${DESTDIR}/var/games/larn/lscore12.0
.endif
.if !exists(${DESTDIR}/var/games/larn/llog12.0)
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
	    ${DESTDIR}/var/games/larn/llog12.0
.endif

.include <bsd.prog.mk>
@


1.12
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.11
log
@s/${INSTALL} -c/${INSTALL} ${COPY}/
@
text
@d71 1
a71 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
d75 1
a75 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
@


1.10
log
@Install files via FILES.
@
text
@d71 1
a71 1
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
d75 1
a75 1
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
@


1.9
log
@Games ownership cleanup.

Urged by:	bde
@
text
@d2 1
a2 1
# $FreeBSD: src/games/larn/Makefile,v 1.8 2001/03/26 14:20:57 ru Exp $
d63 2
d67 2
a69 3
	(cd ${.CURDIR}/datfiles; ${INSTALL} -c -o ${SHAREOWN} -g ${SHAREGRP} \
	    -m ${SHAREMODE} larnmaze larnopts larn.help \
	    ${DESTDIR}${SHAREDIR}/games/larn)
@


1.8
log
@- Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/games/larn/Makefile,v 1.7 2001/03/20 18:08:39 ru Exp $
d66 2
a67 2
	(cd ${.CURDIR}/datfiles; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} \
	    -m ${NOBINMODE} larnmaze larnopts larn.help \
@


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


1.6
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$
a55 1
MAN6=	larn.6
@


1.6.2.1
log
@MFC: MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/games/larn/Makefile,v 1.6 1999/12/10 21:13:38 billf Exp $
d56 1
a56 1
MAN=	larn.6
@


1.6.2.2
log
@MFC: Games ownership cleanup.
@
text
@d2 1
a2 1
# $FreeBSD$
d66 2
a67 2
	(cd ${.CURDIR}/datfiles; ${INSTALL} -c -o ${SHAREOWN} -g ${SHAREGRP} \
	    -m ${SHAREMODE} larnmaze larnopts larn.help \
@


1.6.2.3
log
@MFC: Install files via FILES.
@
text
@a62 2
FILES=	larnmaze larnopts larn.help
FILESDIR=	${SHAREDIR}/games/larn
a64 2
.PATH: ${.CURDIR}/datfiles

d66 3
@


1.6.2.4
log
@MFC: s/${INSTALL} -c/${INSTALL} ${COPY}/
@
text
@d71 1
a71 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
d75 1
a75 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
@


1.6.2.5
log
@MFC: Drop support for COPY.
@
text
@d71 1
a71 1
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
d75 1
a75 1
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
@


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


1.5
log
@Beforeinstall log and score files to prevent owning of them by first
user who run game
Slightly modify game to understand pre-created score file
@
text
@d2 1
d69 1
d72 2
d76 1
@


1.4
log
@444 -> ${NOBINMODE}
/usr/share -> ${SHAREDIR}
/usr/games -> ${BINDIR}
@
text
@d68 4
@


1.3
log
@Change `install' to `${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
@
text
@d66 2
a67 2
	    -m 444 larnmaze larnopts larn.help \
	    ${DESTDIR}/usr/share/games/larn)
@


1.3.2.1
log
@MFC: Selected security fixes and bogosity rectification.  Couldn't
     bring the srandomdev() changes in since we don't have that in 2.2.
     Pity.
@
text
@d66 2
a67 6
	    -m ${NOBINMODE} larnmaze larnopts larn.help \
	    ${DESTDIR}${SHAREDIR}/games/larn)
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
	    ${DESTDIR}/var/games/larn/lscore12.0
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \
	    ${DESTDIR}/var/games/larn/llog12.0
@


1.2
log
@Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap
@
text
@d65 2
a66 2
	(cd ${.CURDIR}/datfiles; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
	    larnmaze larnopts larn.help \
@


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
@d65 2
a66 2
	(cd ${.CURDIR}/datfiles; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} \
	    -m 444 larnmaze larnopts larn.help \
@


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
@d65 2
a66 2
	(cd ${.CURDIR}/datfiles; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
	    larnmaze larnopts larn.help \
@


1.2.6.3
log
@Merge various useful things from HEAD.
@
text
@d65 2
a66 2
	(cd ${.CURDIR}/datfiles; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} \
	    -m 444 larnmaze larnopts larn.help \
@


1.1
log
@Initial revision
@
text
@d60 1
a60 1
DPADD=	${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
@@
