--- battlestar/BSDmakefile.orig 2020-02-26 16:22:47 UTC +++ battlestar/BSDmakefile @@ -1,5 +1,5 @@ -# $NetBSD: Makefile,v 1.9 2001/10/19 03:06:09 tv Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 +# $FreeBSD: src/games/battlestar/Makefile,v 1.5.2.3 2002/08/07 16:31:41 ru Exp $ PROG= battlestar SRCS= battlestar.c command1.c command2.c command3.c command4.c \ @@ -7,9 +7,13 @@ SRCS= battlestar.c command1.c command2.c command3.c co init.c cypher.c getcom.c parse.c room.c save.c fly.c misc.c \ globals.c dayfile.c nightfile.c dayobjs.c nightobjs.c words.c MAN= battlestar.6 -DPADD= ${LIBCURSES} -LDADD= -lcurses -HIDEGAME=hidegame -SETGIDGAME=yes +VARGAMES= +GAMESCURSES= + +beforeinstall: +.if !exists(${DESTDIR}/var/games/battlestar.log) + ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ + ${DESTDIR}/var/games/battlestar.log +.endif .include