-# @(#)Makefile 5.11 (Berkeley) 5/11/90
+# $NetBSD: Makefile,v 1.7 1997/03/24 22:15:41 christos Exp $
+# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= cribbage
-DPADD= ${LIBCURSES} ${LIBTERM} ${LIBCOMPAT}
-LDADD= -lcurses -ltermlib -lcompat
+DPADD= ${LIBCURSES} ${LIBTERM}
+LDADD= -lcurses -ltermlib
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
+FILES= cribbage.n
+FILESNAME=cribbage.instr
+FILESDIR=/usr/share/games
.include <bsd.prog.mk>