Merge from vendor branch TNFTP:
[dragonfly.git] / games / cribbage / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 5/31/93
2 # $FreeBSD: src/games/cribbage/Makefile,v 1.7.2.5 2002/08/07 16:31:41 ru Exp $
3 # $DragonFly: src/games/cribbage/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
4
5 PROG=   cribbage
6 DPADD=  ${LIBCURSES}
7 LDADD=  -lcurses
8 SRCS=   extern.c crib.c cards.c instr.c io.c score.c support.c
9 FILES=  cribbage.n
10 FILESNAME_cribbage.n=   cribbage.instr
11 MAN=    cribbage.6
12 HIDEGAME=hidegame
13
14 beforeinstall:
15 .if !exists(${DESTDIR}/var/games/criblog)
16         ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
17             ${DESTDIR}/var/games/criblog
18 .endif
19
20 .include <bsd.prog.mk>