From 1c011f20f684784227856596edeaf9ef2d6e0373 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 20 Mar 2001 18:08:43 +0000 Subject: [PATCH] Set the default manual section for games/ to 6. --- games/Makefile.inc | 3 +++ games/adventure/Makefile | 2 +- games/arithmetic/Makefile | 2 +- games/atc/Makefile | 1 - games/backgammon/backgammon/Makefile | 2 +- games/battlestar/Makefile | 1 - games/bcd/Makefile | 1 - games/bs/Makefile | 1 - games/caesar/Makefile | 2 +- games/canfield/canfield/Makefile | 1 - games/cribbage/Makefile | 1 - games/factor/Makefile | 2 +- games/fish/Makefile | 2 +- games/fortune/fortune/Makefile | 1 - games/grdc/Makefile | 1 - games/hack/Makefile | 1 - games/hangman/Makefile | 1 - games/larn/Makefile | 1 - games/mille/Makefile | 1 - games/morse/Makefile | 1 - games/number/Makefile | 2 +- games/phantasia/Makefile | 1 - games/piano/Makefile | 1 - games/pig/Makefile | 2 +- games/pom/Makefile | 2 +- games/quiz/Makefile | 2 +- games/rain/Makefile | 1 - games/random/Makefile | 2 +- games/robots/Makefile | 1 - games/rogue/Makefile | 1 - games/sail/Makefile | 1 - games/snake/snake/Makefile | 1 - games/trek/Makefile | 2 +- games/wargames/Makefile | 2 -- games/worm/Makefile | 1 - games/worms/Makefile | 1 - games/wump/Makefile | 2 +- 37 files changed, 16 insertions(+), 37 deletions(-) diff --git a/games/Makefile.inc b/games/Makefile.inc index 0451a2d1c456..fce64134be9c 100644 --- a/games/Makefile.inc +++ b/games/Makefile.inc @@ -1,4 +1,5 @@ # @(#)Makefile.inc 8.1 (Berkeley) 5/31/93 +# $FreeBSD$ BINGRP= ${GAMEGRP} BINDIR?= /usr/games @@ -8,3 +9,5 @@ GBINDIR:= ${BINDIR} BINDIR:= ${BINDIR}/hide BINMODE= 550 .endif + +MANSECT?= 6 diff --git a/games/adventure/Makefile b/games/adventure/Makefile index 52c3649b363e..91404f0a9de4 100644 --- a/games/adventure/Makefile +++ b/games/adventure/Makefile @@ -1,8 +1,8 @@ # @(#)Makefile 8.1 (Berkeley) 6/12/93 +# $FreeBSD$ PROG= adventure SRCS= main.c init.c done.c save.c subr.c vocab.c wizard.c io.c data.c crc.c -MAN6= adventure.6 CFLAGS+=-traditional-cpp HIDEGAME=hidegame CLEANFILES=data.c setup setup.o diff --git a/games/arithmetic/Makefile b/games/arithmetic/Makefile index ad5f2e51513e..a459cfbbe6f4 100644 --- a/games/arithmetic/Makefile +++ b/games/arithmetic/Makefile @@ -1,7 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 +# $FreeBSD$ PROG= arithmetic -MAN6= arithmetic.6 HIDEGAME=hidegame .include diff --git a/games/atc/Makefile b/games/atc/Makefile index 1bc9529ee290..251f16de29a8 100644 --- a/games/atc/Makefile +++ b/games/atc/Makefile @@ -5,7 +5,6 @@ PROG= atc CFLAGS+=-DBSD -I${.CURDIR} -I. SRCS= extern.c grammar.y graphics.c input.c lex.l list.c log.c \ main.c tunable.c update.c y.tab.h -MAN6= atc.6 DPADD= ${LIBL} ${LIBM} ${LIBCURSES} LDADD= -ll -lm -lcurses GAMES= Game_List Killer crossover default easy game_2 diff --git a/games/backgammon/backgammon/Makefile b/games/backgammon/backgammon/Makefile index a0fb4fbcd5be..9c7c93f3cfcc 100644 --- a/games/backgammon/backgammon/Makefile +++ b/games/backgammon/backgammon/Makefile @@ -1,10 +1,10 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 +# $FreeBSD$ PROG= backgammon CFLAGS+=-DV7 -I${.CURDIR}/../common_source SRCS= allow.c board.c check.c extra.c fancy.c init.c main.c move.c \ odds.c one.c save.c subs.c table.c text.c version.c -MAN6= backgammon.6 DPADD= ${LIBTERMCAP} ${LIBCOMPAT} LDADD= -ltermcap -lcompat .PATH: ${.CURDIR}/../common_source diff --git a/games/battlestar/Makefile b/games/battlestar/Makefile index 28184adea8d9..7e1c65a3d491 100644 --- a/games/battlestar/Makefile +++ b/games/battlestar/Makefile @@ -5,7 +5,6 @@ PROG= battlestar SRCS= battlestar.c com1.c com2.c com3.c com4.c com5.c com6.c com7.c \ init.c cypher.c getcom.c parse.c room.c save.c fly.c misc.c \ globals.c dayfile.c nightfile.c dayobjs.c nightobjs.c words.c -MAN6= battlestar.6 DPADD= ${LIBCURSES} ${LIBCOMPAT} LDADD= -lcurses -lcompat HIDEGAME=hidegame diff --git a/games/bcd/Makefile b/games/bcd/Makefile index 1ac15c7b52bd..487b35696a11 100644 --- a/games/bcd/Makefile +++ b/games/bcd/Makefile @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= bcd -MAN6= bcd.6 MLINKS= bcd.6 ppt.6 .include diff --git a/games/bs/Makefile b/games/bs/Makefile index 93cfb7e3f778..701651057900 100644 --- a/games/bs/Makefile +++ b/games/bs/Makefile @@ -1,7 +1,6 @@ # $FreeBSD$ PROG= bs -MAN6= bs.6 DPADD= ${LIBNCURSES} LDADD= -lncurses HIDEGAME=hidegame diff --git a/games/caesar/Makefile b/games/caesar/Makefile index 2621275b9fd2..4c930d606d49 100644 --- a/games/caesar/Makefile +++ b/games/caesar/Makefile @@ -1,7 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 +# $FreeBSD$ PROG= caesar -MAN6= caesar.6 DPADD= ${LIBM} LDADD= -lm MLINKS= caesar.6 rot13.6 diff --git a/games/canfield/canfield/Makefile b/games/canfield/canfield/Makefile index 6f8a803600bf..8e2a834bca02 100644 --- a/games/canfield/canfield/Makefile +++ b/games/canfield/canfield/Makefile @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= canfield -MAN6= canfield.6 DPADD= ${LIBCURSES} ${LIBCOMPAT} LDADD= -lcurses -lcompat HIDEGAME=hidegame diff --git a/games/cribbage/Makefile b/games/cribbage/Makefile index b889baf6987b..86964d7b08b0 100644 --- a/games/cribbage/Makefile +++ b/games/cribbage/Makefile @@ -5,7 +5,6 @@ PROG= cribbage DPADD= ${LIBCURSES} ${LIBCOMPAT} LDADD= -lcurses -lcompat SRCS= extern.c crib.c cards.c instr.c io.c score.c support.c -MAN6= cribbage.6 HIDEGAME=hidegame beforeinstall: diff --git a/games/factor/Makefile b/games/factor/Makefile index 0189952de361..f6f9984e8346 100644 --- a/games/factor/Makefile +++ b/games/factor/Makefile @@ -1,9 +1,9 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 +# $FreeBSD$ PROG= factor SRCS= factor.c pr_tbl.c CFLAGS+=-I${.CURDIR}/../primes -MAN6= factor.6 MLINKS+=factor.6 primes.6 .PATH: ${.CURDIR}/../primes diff --git a/games/fish/Makefile b/games/fish/Makefile index 4ca0add864a3..eacb61435b2c 100644 --- a/games/fish/Makefile +++ b/games/fish/Makefile @@ -1,7 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 +# $FreeBSD$ PROG= fish -MAN6= fish.6 HIDEGAME=hidegame beforeinstall: diff --git a/games/fortune/fortune/Makefile b/games/fortune/fortune/Makefile index 594f3ff89d65..14f134c05e4e 100644 --- a/games/fortune/fortune/Makefile +++ b/games/fortune/fortune/Makefile @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= fortune -MAN6= fortune.6 CFLAGS+=-DDEBUG -Wall -I${.CURDIR}/../strfile DPADD= ${LIBCOMPAT} LDADD= -lcompat diff --git a/games/grdc/Makefile b/games/grdc/Makefile index 2faf1de9cb45..762c8a47a747 100644 --- a/games/grdc/Makefile +++ b/games/grdc/Makefile @@ -1,7 +1,6 @@ # $FreeBSD$ PROG= grdc -MAN6= grdc.6 DPADD= ${LIBNCURSES} LDADD= -lncurses diff --git a/games/hack/Makefile b/games/hack/Makefile index e2ad5d39173a..7b5be2bf3146 100644 --- a/games/hack/Makefile +++ b/games/hack/Makefile @@ -14,7 +14,6 @@ SRCS= alloc.c hack.Decl.c hack.apply.c hack.bones.c hack.c hack.cmd.c \ hack.u_init.c hack.unix.c hack.vault.c hack.version.c hack.wield.c \ hack.wizard.c hack.worm.c hack.worn.c hack.zap.c rnd.c \ hack.onames.h -MAN6= hack.6 DPADD= ${LIBTERMCAP} ${LIBCOMPAT} LDADD= -ltermcap -lcompat CFLAGS+= -fwritable-strings -I${.CURDIR} -I. diff --git a/games/hangman/Makefile b/games/hangman/Makefile index 873794374921..1a6a19f2e9bf 100644 --- a/games/hangman/Makefile +++ b/games/hangman/Makefile @@ -4,7 +4,6 @@ PROG= hangman SRCS= endgame.c extern.c getguess.c getword.c main.c playgame.c \ prdata.c prman.c prword.c setup.c -MAN6= hangman.6 DPADD= ${LIBCURSES} ${LIBCOMPAT} LDADD= -lcurses -lcompat HIDEGAME=hidegame diff --git a/games/larn/Makefile b/games/larn/Makefile index 43b0468462cd..24529bd58c71 100644 --- a/games/larn/Makefile +++ b/games/larn/Makefile @@ -53,7 +53,6 @@ # Turn off logging. PROG= larn -MAN6= larn.6 CFLAGS+=-DBSD -DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE -fwritable-strings SRCS= main.c object.c create.c tok.c display.c global.c data.c io.c \ monster.c store.c diag.c help.c config.c nap.c bill.c scores.c \ diff --git a/games/mille/Makefile b/games/mille/Makefile index 2cc96be9b710..f6d3e8080215 100644 --- a/games/mille/Makefile +++ b/games/mille/Makefile @@ -6,7 +6,6 @@ SRCS= comp.c end.c extern.c init.c mille.c misc.c move.c print.c \ roll.c save.c types.c varpush.c DPADD= ${LIBCURSES} ${LIBCOMPAT} LDADD= -lcurses -lcompat -MAN6= mille.6 HIDEGAME=hidegame .include diff --git a/games/morse/Makefile b/games/morse/Makefile index d208342269b1..f0fedeb1739c 100644 --- a/games/morse/Makefile +++ b/games/morse/Makefile @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= morse -MAN6= morse.6 .if ${MACHINE_ARCH} == "i386" CFLAGS += -DSPEAKER=\"/dev/speaker\" diff --git a/games/number/Makefile b/games/number/Makefile index dd18edb39a3f..dfc9dc9ca8ac 100644 --- a/games/number/Makefile +++ b/games/number/Makefile @@ -1,6 +1,6 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 +# $FreeBSD$ PROG= number -MAN6= number.6 .include diff --git a/games/phantasia/Makefile b/games/phantasia/Makefile index db7ddcec4de4..9814962cf635 100644 --- a/games/phantasia/Makefile +++ b/games/phantasia/Makefile @@ -7,7 +7,6 @@ DPADD= ${LIBM} ${LIBCURSES} ${LIBCOMPAT} LDADD= -lm -lcurses -lcompat DATAFILES=characs gold lastdead mess monsters motd scoreboard void HIDEGAME=hidegame -MAN6= phantasia.6 CLEANFILES=${DATAFILES} cross-phantglobs.o map setup setup.o stamp.setuprun all: stamp.setuprun diff --git a/games/piano/Makefile b/games/piano/Makefile index 0984138a4a7f..825bb2f0b9d5 100644 --- a/games/piano/Makefile +++ b/games/piano/Makefile @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= piano -MAN6= piano.6 DPADD= ${LIBCURSES} LDADD= -lcurses diff --git a/games/pig/Makefile b/games/pig/Makefile index f1ab5834e3c3..4cc741919b82 100644 --- a/games/pig/Makefile +++ b/games/pig/Makefile @@ -1,6 +1,6 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 +# $FreeBSD$ PROG= pig -MAN6= pig.6 .include diff --git a/games/pom/Makefile b/games/pom/Makefile index d204b2ad4675..52e06ab7498c 100644 --- a/games/pom/Makefile +++ b/games/pom/Makefile @@ -1,7 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 +# $FreeBSD$ PROG= pom -MAN6= pom.6 DPADD= ${LIBM} LDADD= -lm CFLAGS+=-Wall diff --git a/games/quiz/Makefile b/games/quiz/Makefile index 53cab32b65fe..08d2254851f6 100644 --- a/games/quiz/Makefile +++ b/games/quiz/Makefile @@ -1,7 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 +# $FreeBSD$ PROG= quiz -MAN6= quiz.6 SRCS= quiz.c rxp.c CATS= africa america areas arith asia babies bard chinese collectives \ ed elements europe flowers greek inca index latin locomotive \ diff --git a/games/rain/Makefile b/games/rain/Makefile index 307c94bff748..5f13c9ae3274 100644 --- a/games/rain/Makefile +++ b/games/rain/Makefile @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= rain -MAN6= rain.6 DPADD= ${LIBCURSES} LDADD= -lcurses diff --git a/games/random/Makefile b/games/random/Makefile index e358e841b41b..8b8909cd983b 100644 --- a/games/random/Makefile +++ b/games/random/Makefile @@ -1,6 +1,6 @@ # @(#)Makefile 8.1 (Berkeley) 3/31/94 +# $FreeBSD$ PROG= random -MAN6= random.6 .include diff --git a/games/robots/Makefile b/games/robots/Makefile index e168fb213897..a1520bb63160 100644 --- a/games/robots/Makefile +++ b/games/robots/Makefile @@ -5,7 +5,6 @@ PROG= robots CFLAGS+=-DMAX_PER_UID=5 SRCS= extern.c init_field.c main.c make_level.c move.c move_robs.c \ play_level.c query.c rnd_pos.c score.c flush_in.c -MAN6= robots.6 DPADD= ${LIBCURSES} ${LIBCOMPAT} LDADD= -lcurses -lcompat HIDEGAME=hidegame diff --git a/games/rogue/Makefile b/games/rogue/Makefile index b548a82ff077..b206a17c9d84 100644 --- a/games/rogue/Makefile +++ b/games/rogue/Makefile @@ -9,7 +9,6 @@ SRCS= hit.c init.c inventory.c level.c machdep.c main.c \ DPADD= ${LIBCURSES} LDADD= -lcurses HIDEGAME=hidegame -MAN6= rogue.6 beforeinstall: .if !exists(${DESTDIR}/var/games/rogue.scores) diff --git a/games/sail/Makefile b/games/sail/Makefile index 5166451000ed..e42406b0ef8b 100644 --- a/games/sail/Makefile +++ b/games/sail/Makefile @@ -5,7 +5,6 @@ PROG= sail SRCS= main.c pl_main.c pl_1.c pl_2.c pl_3.c pl_4.c pl_5.c pl_6.c pl_7.c \ dr_main.c dr_1.c dr_2.c dr_3.c dr_4.c dr_5.c lo_main.c \ assorted.c game.c globals.c misc.c parties.c sync.c version.c -MAN6= sail.6 DPADD= ${LIBCURSES} ${LIBCOMPAT} LDADD= -lcurses -lcompat HIDEGAME=hidegame diff --git a/games/snake/snake/Makefile b/games/snake/snake/Makefile index 220c4bfcf1b7..475539df7d97 100644 --- a/games/snake/snake/Makefile +++ b/games/snake/snake/Makefile @@ -3,7 +3,6 @@ PROG= snake SRCS= snake.c move.c -MAN6= snake.6 DPADD= ${LIBM} ${LIBTERMCAP} ${LIBCOMPAT} LDADD= -lm -ltermcap -lcompat HIDEGAME=hidegame diff --git a/games/trek/Makefile b/games/trek/Makefile index cffe85248bc2..c3a0a139d488 100644 --- a/games/trek/Makefile +++ b/games/trek/Makefile @@ -1,4 +1,5 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 +# $FreeBSD$ PROG= trek SRCS= abandon.c attack.c autover.c capture.c check_out.c checkcond.c \ @@ -9,7 +10,6 @@ SRCS= abandon.c attack.c autover.c capture.c check_out.c checkcond.c \ ranf.c rest.c schedule.c score.c setup.c setwarp.c \ shield.c snova.c srscan.c systemname.c torped.c utility.c \ visual.c warp.c win.c cgetc.c -MAN6= trek.6 DPADD= ${LIBM} ${LIBCOMPAT} LDADD= -lm -lcompat HIDEGAME=hidegame diff --git a/games/wargames/Makefile b/games/wargames/Makefile index fcc2e41395a1..59d4734a4596 100644 --- a/games/wargames/Makefile +++ b/games/wargames/Makefile @@ -1,8 +1,6 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 # $FreeBSD$ -MAN6= wargames.6 - beforeinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.CURDIR}/wargames.sh ${DESTDIR}${BINDIR}/wargames diff --git a/games/worm/Makefile b/games/worm/Makefile index 29504029a922..fa870c87b41e 100644 --- a/games/worm/Makefile +++ b/games/worm/Makefile @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= worm -MAN6= worm.6 DPADD= ${LIBCURSES} ${LIBCOMPAT} LDADD= -lcurses -lcompat HIDEGAME=hidegame diff --git a/games/worms/Makefile b/games/worms/Makefile index b6a238911082..56bb685c4cfe 100644 --- a/games/worms/Makefile +++ b/games/worms/Makefile @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= worms -MAN6= worms.6 DPADD= ${LIBCURSES} LDADD= -lcurses diff --git a/games/wump/Makefile b/games/wump/Makefile index dddd4c3dad9d..e471b70f5f94 100644 --- a/games/wump/Makefile +++ b/games/wump/Makefile @@ -1,7 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 +# $FreeBSD$ PROG= wump -MAN6= wump.6 HIDEGAME=hidegame beforeinstall: