2000-02-12 13:03:30 +03:00
|
|
|
# $NetBSD: Makefile,v 1.12 2000/02/12 10:03:30 itojun Exp $
|
1995-04-22 14:36:43 +04:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= sail
|
|
|
|
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 \
|
|
|
|
dr_main.c dr_1.c dr_2.c dr_3.c dr_4.c dr_5.c lo_main.c \
|
|
|
|
assorted.c game.c globals.c misc.c parties.c sync.c version.c
|
1994-12-22 12:31:26 +03:00
|
|
|
MAN= sail.6
|
1998-02-19 01:37:30 +03:00
|
|
|
DPADD= ${LIBCURSES}
|
|
|
|
LDADD= -lcurses
|
1993-03-21 12:45:37 +03:00
|
|
|
HIDEGAME=hidegame
|
1997-11-20 03:12:30 +03:00
|
|
|
SETGIDGAME=yes
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2000-02-10 01:27:55 +03:00
|
|
|
afterinstall:
|
|
|
|
.if !defined(UNPRIVILEGED)
|
2000-02-12 13:03:30 +03:00
|
|
|
mkdir -p ${DESTDIR}/var/games/sail
|
2000-02-10 01:27:55 +03:00
|
|
|
chown root.games ${DESTDIR}/var/games/sail
|
|
|
|
chmod 2770 ${DESTDIR}/var/games/sail
|
|
|
|
.endif
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|