world: Honour the NO_SHARE in make.conf
[dragonfly.git] / games / cribbage / Makefile
blob6dc20a0e8124d2a766623dee9bb98ae14408aca7
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 $
4 PROG= cribbage
5 DPADD= ${LIBNCURSES}
6 LDADD= -lprivate_ncurses
8 CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv/ncurses
9 LDFLAGS+= ${PRIVATELIB_LDFLAGS}
11 SRCS= extern.c crib.c cards.c instr.c io.c score.c support.c
12 .if !defined(NO_SHARE)
13 FILES= cribbage.n
14 FILESNAME_cribbage.n= cribbage.instr
15 .endif
16 MAN= cribbage.6
17 HIDEGAME=hidegame
19 beforeinstall:
20 .if !exists(${DESTDIR}/var/games/criblog)
21 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
22 ${DESTDIR}/var/games/criblog
23 .endif
25 .include <bsd.prog.mk>