]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - cribbage/Makefile
install games that need it setgid.
[bsdgames-darwin.git] / cribbage / Makefile
index c5c7522eb835650b6a4086e881662f3b6f750465..40abb34b4678bb3755e95ad1c164862444c50bf0 100644 (file)
@@ -1,5 +1,5 @@
-#      from: @(#)Makefile      5.11 (Berkeley) 5/11/90
-#      $Id: Makefile,v 1.4 1994/12/22 09:33:52 cgd Exp $
+#      $NetBSD: Makefile,v 1.8 1997/11/20 00:12:34 mrg Exp $
+#      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
 PROG=  cribbage
 DPADD= ${LIBCURSES} ${LIBTERM}
@@ -7,9 +7,9 @@ LDADD=  -lcurses -ltermlib
 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
+FILES= cribbage.n
+FILESNAME=cribbage.instr
+FILESDIR=/usr/share/games
 
 .include <bsd.prog.mk>