freebsd-dev/games/fortune/datfiles/Makefile
Tim Vanderhoek 39758512e0 Quoting submitter:
This is a recent conversion of an old IBM Mainframe application
 to the fortune datafile format.

 The "laws" were extracted from a S/370 Assembler program on a SHARE tape.
 The comments in the program:

 *---------------------------------------------------------------------*
 *        'MURPHY'  THE OLE PHILOSOPHER              18 AUGUST 1988    *
 *                                                                     *
 *        MURPHY WAS FOUND ON A JES2 TAPE OF ALL PLACES WITH ABOUT     *
 *        500 OR SO SAYINGS. GOT ANOTHER 250 FROM AN UNKNOWN SOURCE    *
 *        AND HAVE ADDED ABOUT 100 OR SO MYSELF.                       *
 *                                                                     *
     [list of changes omitted]
 *                                                                     *
 *        JIM MARSHALL, CAPT, USAF                                     *
 *        (301) 688-6829                                               *
 *                                                                     *
 *---------------------------------------------------------------------*

Fortunes that a sufficiently twisted mind could perceive as offensive
have been moved to murphy-o.  Thanks to the submitter for reviewing
these fortunes.

The copyright issues were considered before approval.

PR:		misc/8519
Submitted by:	Cy Schubert (misc/8519)
Approved by:	The Fortune Teller
2000-05-28 04:41:02 +00:00

48 lines
1.3 KiB
Makefile

# @(#)Makefile 8.2 (Berkeley) 4/19/94
# $FreeBSD$
FILES= fortunes fortunes2 murphy startrek zippy
BLDS= fortunes.dat fortunes2.dat murphy.dat startrek.dat zippy.dat \
fortunes-o fortunes-o.dat
# 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
# TO AVOID INSTALLING THE POTENTIALLY OFFENSIVE FORTUNES, COMMENT OUT THE
# THREE LINES AND UNCOMMENT THE FOURTH LINE.
# THE THREE LINES:
FILES+= fortunes2-o limerick murphy-o
BLDS+= fortunes2-o.dat limerick.dat murphy-o.dat
TYPE= real
# THE FOURTH LINE:
#TYPE= fake
CLEANFILES+=${BLDS}
all: ${BLDS}
beforeinstall:
(cd ${.CURDIR} && ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} \
-m ${NOBINMODE} ${FILES} ${DESTDIR}${SHAREDIR}/games/fortune)
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} ${BLDS} \
${DESTDIR}${SHAREDIR}/games/fortune
.for f in fortunes fortunes2 fortunes2-o limerick murphy murphy-o startrek zippy
$f.dat: $f
PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
strfile -Crs ${.ALLSRC} ${.TARGET}
.endfor
fortunes-o.dat: fortunes-o
PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
strfile -Crsx ${.ALLSRC} ${.TARGET}
fortunes-o: fortunes-o.${TYPE}
tr a-zA-Z n-za-mN-ZA-M < ${.ALLSRC} > ${.TARGET}
.include <bsd.prog.mk>