Commit Graph

28 Commits

Author SHA1 Message Date
Ruslan Ermilov
a7aaf57e4a FILES support for bsd.prog.mk. See bsd.README for details.
Stolen from:	NetBSD
2001-12-17 13:59:35 +00:00
Nik Clayton
a69a66d079 Add a new category of fortunes, 'freebsd-tips'. Useful hints, advice, and
pointers to areas of the system that might not be apparent on first
inspection.
2001-06-15 08:45:43 +00:00
Ruslan Ermilov
ecce24742d Games ownership cleanup.
Urged by:	bde
2001-06-13 15:26:31 +00:00
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
Marcel Moolenaar
2c93646ca1 Use tr(1) instead of caesar(6) to perform the rotation. This removes
the dependency on caesar which therefore doesn't need to be built by
bootstrap-tools.

Suggested by: des
Previously mentioned by: Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-12-23 19:09:59 +00:00
Joerg Wunsch
13e3316372 *blush* Instead of undoing my own change, i clobbered dcs's rev 1.21
change.

I'll never touch this again...
1999-11-05 08:17:53 +00:00
Joerg Wunsch
c424905006 Back out rev 1.21. bde and dcs convinced me that all this is messed up
anyway, and there can't be any solution that will universally work in any
case (make world, cross-compilation, simple `make' without `make world'
after incompatible options have been added to strfile, ...)
1999-11-05 07:36:33 +00:00
Daniel C. Sobral
93548d79ba Revert to 1.19. ${.OBJDIR}/../strfile must be taken out, since it
breaks the cross-compilation case, but I'm not the one doing it.
$$PATH *will* have a new strfile in /usr/bin built at build-tools
time, unless you defined NOTOOLS.

If you defined NOTOOLS and it breaks for you, don't do that.

If you did not define NOTOOLS but things are not working, the error is
elsewhere. See logs for src/Makefine.inc1, particularly rev 1.36, and
revision 1.14 of this file.
1999-11-04 04:29:16 +00:00
Joerg Wunsch
117e008ac0 Reverse the way $PATH is extended, so if the person building that area
has /usr/games in its $PATH, where /usr/games/strfile doesn't grok an
option that the newly built one inside /usr/obj would grok, the build
process would be able to complete.
1999-11-02 12:50:11 +00:00
Daniel C. Sobral
6061100fb8 Notice the -C flag got dropped when I reverted to version 1.15, and put it
back.
1999-10-28 05:22:05 +00:00
Jordan K. Hubbard
3618906813 I'll take the MAINTAINER line. I have been accused of knowing humor
when I at least see it. :)
1999-10-27 18:35:18 +00:00
Daniel C. Sobral
d06bac74f7 Revert to 1.15, since, as pointed out by bde, 1.16 is wrong and evil.
Add $FreeBSD$.
1999-10-03 13:38:53 +00:00
Daniel C. Sobral
83fbb33522 Change path order in makefile so newer fortune files will be built with
the latest fortune (strfile/caesar) sources.

Correct a separator type in fortunes2.

Add Unix geeks dating instructions (reference card style).
1999-10-02 12:31:56 +00:00
David E. O'Brien
dcaf7c2c26 Allow building games w/o an existing /usr/games. 1998-10-18 11:14:58 +00:00
Bruce Evans
353f3cf0a6 Fixed building without /usr/games in $PATH. Just add /usr/games
to the _end_ of $PATH before using tools that are normally in
/usr/games.  I broke this in rev.1.9 by assuming that these tools
are in $PATH (as they are for `make world' unless NOTOOLS is set).
Revs.1.10-1.13 of this file had various wrong fixes.  Rev.1.18
of src/Makefile.inc1 has an incomplete fix.

PR:		7936

Fixed comments about what to comment out to [not] install the
potentially offensive fortunes.  This should be configured using
an ifdef.

Fixed missing dependencies of fortunes.dat on fortunes, etc.

Removed bogus dependency of `all' on source files.

Fixed some style bugs.
1998-10-17 11:44:28 +00:00
John Birrell
fd74ae08a8 Back out the last two hacks. I've added games to the (correct) build
path in src/Makefile.inc. The code that I'm backing out didn't work
anyway since exists() checks for a file in .PATH (and /usr/games/strfile
doesn't exist there), so the test was always defaulting to ../strfile/strfile
which breaks cross-compiled builds.
1998-09-21 09:01:53 +00:00
Poul-Henning Kamp
5ea940904e Remove bogus dependencies.
Submitted by:	bde
1998-09-19 06:58:14 +00:00
Poul-Henning Kamp
72b1afeb8d Reverse the sense of the test looking for caesar & strfile. 1998-09-19 06:14:11 +00:00
Poul-Henning Kamp
222c9402b8 Don't expect /usr/games in the path.
Avoid using /usr/games versions if we can find what we need (caesar & strfile)
in the buildtree.

PR:		7936
Submitted by:	Achim Patzner <ap@noses.com>
1998-09-17 08:52:40 +00:00
Bruce Evans
07d8ec4c17 Use the installed versions of caesar and strfile. They are now
bootstrapped by `make world', and the installed versions are just
as likely to work as the installed version of cc if `make' is run
directly.
1998-07-07 06:22:23 +00:00
Wolfram Schneider
c6234bb251 444 -> ${NOBINMODE}
/usr/share -> ${SHAREDIR}
/usr/games -> ${BINDIR}
1997-02-09 02:52:41 +00:00
Bruce Evans
76a4217503 Fixed annoying non-null output for `make depend'. SRCS should only
be used for C, C++ and assembler sources if <bsd.prog.mk> is
included.  It was used for general files.  This caused the __depend_*
lists in <bsd.dep.mk> to be empty, so mkdep was never run, so
.depend never existed, so it was always out of date, so `rm -f
.depend' was always executed to update it.
1996-09-22 14:45:23 +00:00
Jordan K. Hubbard
cd9a2f5c28 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
Andrey A. Chernov
f17947b74a Localize it.
off_t -> long.
Install strfile & unstr
-Wall cleanup
Fix matching bug with offensive database
1996-05-27 22:43:43 +00:00
Andrey A. Chernov
c12a60de93 Find caesar and strfile properly.
Generate .dat files on build state
1996-05-27 09:31:46 +00:00
Bruce Evans
1654225ba4 Change install' to ${INSTALL}' as usual.
Install the `built' files with flag ${COPY}.
1995-07-24 23:22:00 +00:00
Poul-Henning Kamp
d2757e2bd6 If possible, pick up the caesar program inside in the compilation tree. 1995-03-26 18:53:45 +00:00
Jordan K. Hubbard
554eb505f8 Bring in the 4.4 Lite games directory, modulo man page changes and segregation
of the x11 based games.  I'm not going to tag the originals with bsd_44_lite
and do this in two stages since it's just not worth it for this collection,
and I've got directory renames to deal with that way.  Bleah.
Submitted by:	jkh
1994-09-04 04:03:31 +00:00