Merge from vendor branch TNFTP:
[dragonfly.git] / games / sail / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 5/31/93
2 # $FreeBSD: src/games/sail/Makefile,v 1.4.2.3 2002/08/07 16:31:42 ru Exp $
3 # $DragonFly: src/games/sail/Makefile,v 1.4 2006/10/08 16:22:36 pavalos Exp $
4
5 PROG=   sail
6 SRCS=   main.c pl_main.c pl_1.c pl_2.c pl_3.c pl_4.c pl_5.c pl_6.c pl_7.c \
7         dr_main.c dr_1.c dr_2.c dr_3.c dr_4.c dr_5.c lo_main.c \
8         assorted.c game.c globals.c misc.c parties.c sync.c version.c
9 MAN=    sail.6
10 DPADD=  ${LIBCURSES}
11 LDADD=  -lcurses
12 HIDEGAME=hidegame
13
14 beforeinstall:
15 .if !exists(${DESTDIR}/var/games/saillog)
16         ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
17             ${DESTDIR}/var/games/saillog
18 .endif
19
20 .include <bsd.prog.mk>