]> 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 948101b0164d3a30be18f33509b174d4e922d5d7..537e0ea4b8e15134ee43e7daba119bd35a0ffa75 100644 (file)
@@ -1,15 +1,19 @@
-#      $NetBSD: Makefile,v 1.6 1996/10/18 02:45:34 thorpej 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
 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>