Initial import from FreeBSD RELENG_4:
[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 $
3
4FILES= fortunes fortunes2 freebsd-tips murphy startrek zippy
5BLDS= fortunes.dat fortunes2.dat murphy.dat startrek.dat zippy.dat \
6 fortunes-o fortunes-o.dat freebsd-tips.dat
7
8# Pass all new entries by ${MAINTAINER} to preserve some semblance of
9# humor in the fortune files. What's funny to you on 6 beers may not
10# be funny to anyone else.
11MAINTAINER= jkh
12
13# TO AVOID INSTALLING THE POTENTIALLY OFFENSIVE FORTUNES, COMMENT OUT THE
14# THREE LINES AND UNCOMMENT THE FOURTH LINE.
15
16# THE THREE LINES:
17FILES+= fortunes2-o limerick murphy-o
18BLDS+= fortunes2-o.dat limerick.dat murphy-o.dat
19TYPE= real
20
21# THE FOURTH LINE:
22#TYPE= fake
23
24FILES+= ${BLDS}
25CLEANFILES+=${BLDS}
26
27FILESDIR= ${SHAREDIR}/games/fortune
28
29.for f in fortunes fortunes2 fortunes2-o freebsd-tips limerick murphy murphy-o startrek zippy
30$f.dat: $f
31 PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
32 strfile -Crs ${.ALLSRC} ${.TARGET}
33.endfor
34
35fortunes-o.dat: fortunes-o
36 PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
37 strfile -Crsx ${.ALLSRC} ${.TARGET}
38
39fortunes-o: fortunes-o.${TYPE}
40 tr a-zA-Z n-za-mN-ZA-M < ${.ALLSRC} > ${.TARGET}
41
42.include <bsd.prog.mk>