]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - cribbage/Makefile
Define variables as BOOLEAN, not bool, where the extern declarations
[bsdgames-darwin.git] / cribbage / Makefile
index 5b244d09b05b461fc896ae6147ed7d0176924602..537e0ea4b8e15134ee43e7daba119bd35a0ffa75 100644 (file)
@@ -1,15 +1,19 @@
-#      from: @(#)Makefile      5.11 (Berkeley) 5/11/90
-#      $Id: Makefile,v 1.3 1993/08/01 05:45:43 mycroft Exp $
+#      $NetBSD: Makefile,v 1.12 1999/02/13 02:54:21 lukem Exp $
+#      @(#)Makefile    8.1 (Berkeley) 5/31/93
+
+.include <bsd.own.mk>
 
 PROG=  cribbage
-DPADD= ${LIBCURSES} ${LIBTERM}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
 SRCS=  extern.c crib.c cards.c instr.c io.c score.c support.c
-MAN6=  cribbage.0
+MAN=   cribbage.6
 HIDEGAME=hidegame
-
-beforeinstall: 
-       install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/cribbage.n \
-           ${DESTDIR}/usr/share/games/cribbage.instr
+SETGIDGAME=yes
+.if ${MKSHARE} != "no"
+FILES= cribbage.n
+FILESNAME=cribbage.instr
+FILESDIR=/usr/share/games
+.endif
 
 .include <bsd.prog.mk>