summaryrefslogtreecommitdiff
path: root/games/bsdgames/files/patch-battlestar_BSDmakefile
blob: c378a3184928cde0d5c91a84910daec67d239254 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- 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 <bsd.prog.mk>