xref: /dragonfly/games/fortune/datfiles/Makefile (revision bcb3e04d)
1#	@(#)Makefile	8.2 (Berkeley) 4/19/94
2# $FreeBSD: src/games/fortune/datfiles/Makefile,v 1.24.2.3 2002/02/18 15:03:32 ru Exp $
3
4# list of fortunes to be installed
5FORTUNES=	dragonfly-funny dragonfly-tips fortunes murphy startrek zippy
6
7# TO AVOID INSTALLING THE POTENTIALLY OFFENSIVE FORTUNES, RUN 'make' with
8# "INSTALL_OFFENSIVE_FORTUNES=NO", or set "INSTALL_OFFENSIVE_FORTUNES=NO"
9# IN /etc/make.conf.
10
11INSTALL_OFFENSIVE_FORTUNES?=	YES
12.if (${INSTALL_OFFENSIVE_FORTUNES} == "YES")
13FORTUNES+=	fortunes-o limerick murphy-o
14.endif
15
16FILESDIR=	${SHAREDIR}/games/fortune
17
18.for f in ${FORTUNES}
19FILES+=		$f $f.dat
20CLEANFILES+=	$f.dat
21.if !(target($f.dat))
22$f.dat: $f
23	PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
24	    strfile -Cs ${.ALLSRC} ${.TARGET}
25.endif
26.endfor
27
28.include <bsd.prog.mk>
29