Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / games / fortune / datfiles / Makefile
CommitLineData
984263bc
MD
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 $
1de703da 3# $DragonFly: src/games/fortune/datfiles/Makefile,v 1.2 2003/06/17 04:25:23 dillon Exp $
984263bc
MD
4
5FILES= fortunes fortunes2 freebsd-tips murphy startrek zippy
6BLDS= fortunes.dat fortunes2.dat murphy.dat startrek.dat zippy.dat \
7 fortunes-o fortunes-o.dat freebsd-tips.dat
8
9# Pass all new entries by ${MAINTAINER} to preserve some semblance of
10# humor in the fortune files. What's funny to you on 6 beers may not
11# be funny to anyone else.
12MAINTAINER= jkh
13
14# TO AVOID INSTALLING THE POTENTIALLY OFFENSIVE FORTUNES, COMMENT OUT THE
15# THREE LINES AND UNCOMMENT THE FOURTH LINE.
16
17# THE THREE LINES:
18FILES+= fortunes2-o limerick murphy-o
19BLDS+= fortunes2-o.dat limerick.dat murphy-o.dat
20TYPE= real
21
22# THE FOURTH LINE:
23#TYPE= fake
24
25FILES+= ${BLDS}
26CLEANFILES+=${BLDS}
27
28FILESDIR= ${SHAREDIR}/games/fortune
29
30.for f in fortunes fortunes2 fortunes2-o freebsd-tips limerick murphy murphy-o startrek zippy
31$f.dat: $f
32 PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
33 strfile -Crs ${.ALLSRC} ${.TARGET}
34.endfor
35
36fortunes-o.dat: fortunes-o
37 PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
38 strfile -Crsx ${.ALLSRC} ${.TARGET}
39
40fortunes-o: fortunes-o.${TYPE}
41 tr a-zA-Z n-za-mN-ZA-M < ${.ALLSRC} > ${.TARGET}
42
43.include <bsd.prog.mk>