Adjust some more stuff for the CVS->git switch.
[dragonfly.git] / games / fortune / datfiles / Makefile
blob864b23c1cd97cf0c99c4b71285cd21f8db30a31e
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 # $DragonFly: src/games/fortune/datfiles/Makefile,v 1.7 2007/12/27 13:40:11 matthias Exp $
5 # list of fortunes to be installed
6 FORTUNES= dragonfly-funny dragonfly-tips fortunes fortunes2 fortunes-o \
7 murphy startrek zippy
9 # TO AVOID INSTALLING THE POTENTIALLY OFFENSIVE FORTUNES, COMMENT OUT THE
10 # THREE LINES AND UNCOMMENT THE FOURTH LINE.
12 # THE THREE LINES:
13 FORTUNES+= fortunes2-o limerick murphy-o
14 TYPE= real
16 # THE FOURTH LINE:
17 #TYPE= fake
19 FILESDIR= ${SHAREDIR}/games/fortune
22 # add rules for specially handled fortunes here
23 fortunes-o.dat: fortunes-o
24 PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
25 strfile -Csx ${.ALLSRC} ${.TARGET}
27 fortunes-o: fortunes-o.${TYPE}
28 tr a-zA-Z n-za-mN-ZA-M < ${.ALLSRC} > ${.TARGET}
31 .for f in ${FORTUNES}
32 FILES+= $f $f.dat
33 CLEANFILES+= $f.dat fortunes-o
34 .if !(target($f.dat))
35 $f.dat: $f
36 PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
37 strfile -Cs ${.ALLSRC} ${.TARGET}
38 .endif
39 .endfor
41 .include <bsd.prog.mk>