1994-09-04 04:03:31 +00:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 4/19/94
|
1999-10-02 12:31:56 +00:00
|
|
|
# $FreeBSD$
|
1994-09-04 04:03:31 +00:00
|
|
|
|
2001-06-15 08:45:43 +00:00
|
|
|
FILES= fortunes fortunes2 freebsd-tips murphy startrek zippy
|
2000-05-28 04:41:02 +00:00
|
|
|
BLDS= fortunes.dat fortunes2.dat murphy.dat startrek.dat zippy.dat \
|
2001-06-15 08:45:43 +00:00
|
|
|
fortunes-o fortunes-o.dat freebsd-tips.dat
|
1994-09-04 04:03:31 +00:00
|
|
|
|
1999-10-27 18:35:18 +00:00
|
|
|
# Pass all new entries by ${MAINTAINER} to preserve some semblance of
|
|
|
|
# humor in the fortune files. What's funny to you on 6 beers may not
|
|
|
|
# be funny to anyone else.
|
|
|
|
MAINTAINER= jkh
|
|
|
|
|
1998-10-17 11:44:28 +00:00
|
|
|
# TO AVOID INSTALLING THE POTENTIALLY OFFENSIVE FORTUNES, COMMENT OUT THE
|
|
|
|
# THREE LINES AND UNCOMMENT THE FOURTH LINE.
|
1994-09-04 04:03:31 +00:00
|
|
|
|
1998-10-17 11:44:28 +00:00
|
|
|
# THE THREE LINES:
|
2000-05-28 04:41:02 +00:00
|
|
|
FILES+= fortunes2-o limerick murphy-o
|
|
|
|
BLDS+= fortunes2-o.dat limerick.dat murphy-o.dat
|
1994-09-04 04:03:31 +00:00
|
|
|
TYPE= real
|
|
|
|
|
1998-10-17 11:44:28 +00:00
|
|
|
# THE FOURTH LINE:
|
1994-09-04 04:03:31 +00:00
|
|
|
#TYPE= fake
|
|
|
|
|
2001-12-17 13:59:35 +00:00
|
|
|
FILES+= ${BLDS}
|
1994-09-04 04:03:31 +00:00
|
|
|
CLEANFILES+=${BLDS}
|
|
|
|
|
2001-12-17 13:59:35 +00:00
|
|
|
FILESDIR= ${SHAREDIR}/games/fortune
|
1994-09-04 04:03:31 +00:00
|
|
|
|
2001-06-15 08:45:43 +00:00
|
|
|
.for f in fortunes fortunes2 fortunes2-o freebsd-tips limerick murphy murphy-o startrek zippy
|
1998-10-17 11:44:28 +00:00
|
|
|
$f.dat: $f
|
1999-11-05 08:17:53 +00:00
|
|
|
PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
|
1999-10-28 05:22:05 +00:00
|
|
|
strfile -Crs ${.ALLSRC} ${.TARGET}
|
1998-10-17 11:44:28 +00:00
|
|
|
.endfor
|
1994-09-04 04:03:31 +00:00
|
|
|
|
1998-09-19 06:58:14 +00:00
|
|
|
fortunes-o.dat: fortunes-o
|
1999-10-03 13:38:53 +00:00
|
|
|
PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
|
1999-10-28 05:22:05 +00:00
|
|
|
strfile -Crsx ${.ALLSRC} ${.TARGET}
|
1994-09-04 04:03:31 +00:00
|
|
|
|
1998-09-19 06:58:14 +00:00
|
|
|
fortunes-o: fortunes-o.${TYPE}
|
1999-12-23 19:09:59 +00:00
|
|
|
tr a-zA-Z n-za-mN-ZA-M < ${.ALLSRC} > ${.TARGET}
|
1994-09-04 04:03:31 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|