ports/games/bsdgames/files/patch-battlestar_BSDmakefile
Cy Schubert a774468007 Update 0.7 --> 0.75, fixing ncurses 6.2 build issues.
PR:		244568
Submitted by:	Joachim Werner <jockl at pianojockl.org> (maintainer)
Reported by:	Joachim Werner <jockl at pianojockl.org> (maintainer)
Approved by:	maintainer (implicit)
MFH:		2020Q2
2020-04-08 18:50:04 +00:00

27 lines
881 B
Text

--- 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>