From 8ea0a445575ed620d884c8b7c77c9446a29af489 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Fri, 3 Jan 1997 11:33:21 +0000 Subject: Have manpage installed in man6 where games belong. and some /usr/local hardcodings --> ${PREFIX} --- games/acm/Makefile | 4 +- games/acm/files/patch-01 | 11 ++++ games/acm/files/patch-02 | 8 +++ games/acm/pkg-plist | 2 +- games/gnushogi/Makefile | 10 ++- games/gnushogi/files/patch-aa | 97 +++++++++++++--------------- games/gnushogi/pkg-plist | 2 +- games/tksol/Makefile | 4 +- games/tksol/files/patch-a | 143 +++++++++++++++++++----------------------- games/tksol/files/patch-c | 9 +++ games/tksol/pkg-plist | 2 +- games/xmine/Makefile | 4 +- games/xmine/files/patch-ab | 26 ++++---- games/xmine/files/patch-ac | 8 +++ games/xmine/pkg-plist | 2 +- 15 files changed, 174 insertions(+), 158 deletions(-) create mode 100644 games/acm/files/patch-01 create mode 100644 games/acm/files/patch-02 create mode 100644 games/tksol/files/patch-c create mode 100644 games/xmine/files/patch-ac diff --git a/games/acm/Makefile b/games/acm/Makefile index 83301fe666c2..cc8e7bb4eb4a 100644 --- a/games/acm/Makefile +++ b/games/acm/Makefile @@ -3,7 +3,7 @@ # Date created: 5 March 1995 # Whom: joerg # -# $Id: Makefile,v 1.8 1996/11/18 11:24:18 asami Exp $ +# $Id: Makefile,v 1.9 1996/11/18 13:58:36 asami Exp $ # DISTNAME= acm-4.7 @@ -15,7 +15,7 @@ MAINTAINER= joerg@FreeBSD.org HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} STRIP= -MAN1= acm.1 +MAN6= acm.6 .include diff --git a/games/acm/files/patch-01 b/games/acm/files/patch-01 new file mode 100644 index 000000000000..ad97e3e04058 --- /dev/null +++ b/games/acm/files/patch-01 @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig Fri Mar 4 13:35:07 1994 ++++ src/Makefile.in Fri Jan 3 02:18:38 1997 +@@ -15,7 +15,7 @@ + STD_INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../V/lib + TOPDIR = .. + CLEAN_THESE = flight-state black_box_input black_box_output bitmap.h +- manext = 1 ++ manext = 6 + MAKEDEPEND = makedepend + + diff --git a/games/acm/files/patch-02 b/games/acm/files/patch-02 new file mode 100644 index 000000000000..1499ac1c4400 --- /dev/null +++ b/games/acm/files/patch-02 @@ -0,0 +1,8 @@ +--- src/acm.man.orig Fri Apr 15 13:12:10 1994 ++++ src/acm.man Fri Jan 3 02:19:19 1997 +@@ -1,4 +1,4 @@ +-.TH ACM l "March 14, 1991" ++.TH ACM 6 "March 14, 1991" + .SH NAME + acm \- an aerial combat simulator for X + .SH SYNOPSIS diff --git a/games/acm/pkg-plist b/games/acm/pkg-plist index 97d977bff6c0..b301f28ae463 100644 --- a/games/acm/pkg-plist +++ b/games/acm/pkg-plist @@ -1,7 +1,7 @@ bin/acm bin/acms bin/kill-acms -man/man1/acm.1.gz +man/man6/acm.6.gz games/acm/default-scene games/acm/maui-scene games/acm/kauai-scene diff --git a/games/gnushogi/Makefile b/games/gnushogi/Makefile index 6e013b9dd2b2..754b939b9b1f 100644 --- a/games/gnushogi/Makefile +++ b/games/gnushogi/Makefile @@ -3,7 +3,7 @@ # Date created: 9 October 1996 # Whom: Yukihiro Nakai # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1996/11/17 11:44:57 asami Exp $ # DISTNAME= gnushogi-1.2p03 @@ -15,7 +15,11 @@ MAINTAINER= Nakai@Mlab.t.u-tokyo.ac.jp DOCFILES= BOOKFILES CHANGES CONTRIB COPYING GENERAL INSTALL PORTING \ README-FIRST listserv.ref shogi.rules tutorial1.gam tutorial2.gam -MAN1= gnushogi.1 +MAN6= gnushogi.6 + +post-configure: + echo "DISTDIR=${WRKDIR}" >> ${WRKSRC}/src/${MAKEFILE} + echo "prefix=${PREFIX}" >> ${WRKSRC}/src/${MAKEFILE} do-build: (cd ${WRKSRC}/src; \ @@ -30,7 +34,7 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/gnushogir ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/src/gnushogix ${PREFIX}/libexec ${INSTALL_DATA} ${WRKSRC}/src/gnushogi.bbk ${PREFIX}/share/gnushogi - ${INSTALL_MAN} ${WRKSRC}/doc/gnushogi.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/gnushogi.1 ${PREFIX}/man/man6/gnushogi.6 .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/gnushogi .for doc in ${DOCFILES} diff --git a/games/gnushogi/files/patch-aa b/games/gnushogi/files/patch-aa index b4e14618bc0f..1fbddad9e9e5 100644 --- a/games/gnushogi/files/patch-aa +++ b/games/gnushogi/files/patch-aa @@ -1,53 +1,44 @@ -*** src/Makefile.orig Wed May 24 14:05:26 1995 ---- src/Makefile Tue Oct 22 20:00:44 1996 -*************** -*** 48,62 **** - # compile. Ask your system admin / unix guru to put gnushogi.{hsh,lng,tbk} - # in $(LIBDIR). - # Where the binaries live. -! BINDIR= $(prefix)/games - #BINDIR=/public/projects/shogi/bin - - # Where language description, our book, and the persistent hash live. -! LIBDIR= $(prefix)/games/lib/gnushogi - #LIBDIR=/public/projects/shogi/lib - - # Distribution directory -! DISTDIR=/public/projects/shogi - - # Programs being distributed - PROGS=gnushogi-$(VERS) ---- 48,62 ---- - # compile. Ask your system admin / unix guru to put gnushogi.{hsh,lng,tbk} - # in $(LIBDIR). - # Where the binaries live. -! BINDIR= $(prefix)/bin - #BINDIR=/public/projects/shogi/bin - - # Where language description, our book, and the persistent hash live. -! LIBDIR= $(prefix)/share/gnushogi - #LIBDIR=/public/projects/shogi/lib - - # Distribution directory -! DISTDIR=/usr/ports/games/gnushogi/work - - # Programs being distributed - PROGS=gnushogi-$(VERS) -*************** -*** 96,102 **** - #CFLAGS= -O2 -funroll-loops -traditional-cpp -DNO_STRING_INCLUDE -DNOFIONREAD # gnu cc 2.00 (hawk) - #CFLAGS= -O2 -funroll-loops -DSEVENBIT # djgpp - #CFLAGS= -g -funroll-loops # gnu cc 2.00 on SunOS with debug -! CFLAGS= -O2 -funroll-loops # gnu cc 2.00 on SunOS - - # flags for DJGPP package - #COFF2EXE= coff2exe $(GNUSHOGI) ---- 96,103 ---- - #CFLAGS= -O2 -funroll-loops -traditional-cpp -DNO_STRING_INCLUDE -DNOFIONREAD # gnu cc 2.00 (hawk) - #CFLAGS= -O2 -funroll-loops -DSEVENBIT # djgpp - #CFLAGS= -g -funroll-loops # gnu cc 2.00 on SunOS with debug -! #CFLAGS= -O2 -funroll-loops # gnu cc 2.00 on SunOS -! CFLAGS= -O2 -m486 -pipe -fno-strength-reduce - - # flags for DJGPP package - #COFF2EXE= coff2exe $(GNUSHOGI) +--- src/Makefile.orig Wed May 24 07:05:26 1995 ++++ src/Makefile Fri Jan 3 02:57:59 1997 +@@ -41,22 +41,22 @@ + DIST= ../README-$(VERS) ../doc ../misc ../src + + # Installation directory +-prefix=/usr/local ++#prefix=/usr/local + #prefix=/public/projects/shogi + + # Change these to something less transitory, like /usr/games, and then + # compile. Ask your system admin / unix guru to put gnushogi.{hsh,lng,tbk} + # in $(LIBDIR). + # Where the binaries live. +-BINDIR= $(prefix)/games ++BINDIR= $(prefix)/bin + #BINDIR=/public/projects/shogi/bin + + # Where language description, our book, and the persistent hash live. +-LIBDIR= $(prefix)/games/lib/gnushogi ++LIBDIR= $(prefix)/share/gnushogi + #LIBDIR=/public/projects/shogi/lib + + # Distribution directory +-DISTDIR=/public/projects/shogi ++#DISTDIR=/public/projects/shogi + + # Programs being distributed + PROGS=gnushogi-$(VERS) +@@ -96,7 +96,8 @@ + #CFLAGS= -O2 -funroll-loops -traditional-cpp -DNO_STRING_INCLUDE -DNOFIONREAD # gnu cc 2.00 (hawk) + #CFLAGS= -O2 -funroll-loops -DSEVENBIT # djgpp + #CFLAGS= -g -funroll-loops # gnu cc 2.00 on SunOS with debug +-CFLAGS= -O2 -funroll-loops # gnu cc 2.00 on SunOS ++#CFLAGS= -O2 -funroll-loops # gnu cc 2.00 on SunOS ++CFLAGS= -O2 -m486 -pipe -fno-strength-reduce + + # flags for DJGPP package + #COFF2EXE= coff2exe $(GNUSHOGI) +@@ -454,3 +455,4 @@ + -rm -f $(DISTDIR)/gnushogi-$(VERS)/src/gnushogi.bbk + -find $(DISTDIR)/gnushogi-$(VERS) \( -name '*.o' -o -name '*~' -o -name 'CL*' -o -name 'PATCH*' -o -name '#*#' -o -name '%*%' -o -name '*orig' -o -name 'CL*' -o -name '*prt' -o -name '*bak' -o -name '*BAK' \) -exec rm -f {} \; + ++DISTDIR=/net/freefall/a/obrien/ports/games/gnushogi/work diff --git a/games/gnushogi/pkg-plist b/games/gnushogi/pkg-plist index dc5a62252470..cf64de4b3529 100644 --- a/games/gnushogi/pkg-plist +++ b/games/gnushogi/pkg-plist @@ -1,7 +1,7 @@ bin/gnushogi bin/gnushogir libexec/gnushogix -man/man1/gnushogi.1.gz +man/man6/gnushogi.6.gz share/doc/gnushogi/BOOKFILES share/doc/gnushogi/CHANGES share/doc/gnushogi/CONTRIB diff --git a/games/tksol/Makefile b/games/tksol/Makefile index cf66c4b51a50..8665d5ad6ceb 100644 --- a/games/tksol/Makefile +++ b/games/tksol/Makefile @@ -3,7 +3,7 @@ # Date created: 26 June 1995 # Whom: thomas@ghpc8.ihf.rwth-aachen.de # -# $Id: Makefile,v 1.4 1996/10/09 06:19:14 tg Exp $ +# $Id: Makefile,v 1.5 1996/11/18 11:25:09 asami Exp $ # DISTNAME= tksol-1.0 @@ -17,6 +17,6 @@ RUN_DEPENDS= wish4.1:${PORTSDIR}/x11/tk41 PATCH_STRIP= -p1 WRKSRC= ${WRKDIR}/release -MAN1= tksol.1 +MAN6= tksol.6 .include diff --git a/games/tksol/files/patch-a b/games/tksol/files/patch-a index 0acd3acd7ed9..23502eb63713 100644 --- a/games/tksol/files/patch-a +++ b/games/tksol/files/patch-a @@ -1,77 +1,66 @@ -diff -cr tksol-0.9.orig/Makefile tksol-0.9/Makefile -*** tksol-0.9.orig/Makefile Fri Jan 7 21:30:02 1994 ---- tksol-0.9/Makefile Sun Jun 25 19:28:08 1995 -*************** -*** 7,13 **** - CHMOD = chmod - ECHO = echo - MKDIR = mkdir -p -! INSTALL = install -c -m 644 - - BINSCRIPT = -e 's+@cardbitmaps@+$(CARDBITMAPS)+g' \ - -e 's+@downbitmaps@+$(DOWNBITMAPS)+g' \ ---- 7,13 ---- - CHMOD = chmod - ECHO = echo - MKDIR = mkdir -p -! INSTALL = install -c -m 644 -g bin -o bin - - BINSCRIPT = -e 's+@cardbitmaps@+$(CARDBITMAPS)+g' \ - -e 's+@downbitmaps@+$(DOWNBITMAPS)+g' \ -*************** -*** 19,45 **** - ############################################ - # Absolute pathname of the wish executable # - ############################################ -! WISH = /usr/imports/bin/wish - - #################################################### - # Directory where the script tksol will be located # - #################################################### -! BINDIR = /homes/bao/src/test/tksol - - ##################################################### - # Directory where the tksol manpage will be located # - ##################################################### -! MANDIR = /homes/bao/src/man - - #################################################################### - # Directory where the bitmaps for the faceup cards will be located # - #################################################################### -! CARDBITMAPS = /homes/bao/src/test/tksol/cardbitmaps - - ###################################################################### - # Directory where the bitmaps for the facedown cards will be located # - ###################################################################### -! DOWNBITMAPS = /homes/bao/src/test/tksol/downbitmaps - - - all: tksol tksol.1 ---- 19,45 ---- - ############################################ - # Absolute pathname of the wish executable # - ############################################ -! WISH = ${PREFIX}/bin/wish4.1 - - #################################################### - # Directory where the script tksol will be located # - #################################################### -! BINDIR = ${PREFIX}/bin - - ##################################################### - # Directory where the tksol manpage will be located # - ##################################################### -! MANDIR = ${PREFIX}/man/man1 - - #################################################################### - # Directory where the bitmaps for the faceup cards will be located # - #################################################################### -! CARDBITMAPS = ${PREFIX}/lib/tk4.1/tksol/cardbitmaps - - ###################################################################### - # Directory where the bitmaps for the facedown cards will be located # - ###################################################################### -! DOWNBITMAPS = ${PREFIX}/lib/tk4.1/tksol/downbitmaps - - - all: tksol tksol.1 +--- Makefile.orig Mon Feb 21 10:36:31 1994 ++++ Makefile Fri Jan 3 03:17:35 1997 +@@ -11,7 +11,7 @@ + CHMOD = chmod + ECHO = echo + MKDIR = mkdir -p +- INSTALL = install -c -m 644 ++ INSTALL = install -c -m 644 -g bin -o bin + + BINSCRIPT = -e 's+@cardbitmaps@+$(CARDBITMAPS)+g' \ + -e 's+@downbitmaps@+$(DOWNBITMAPS)+g' \ +@@ -23,27 +23,27 @@ + ############################################ + # Absolute pathname of the wish executable # + ############################################ +-WISH = /usr/imports/bin/wish ++WISH = ${PREFIX}/bin/wish4.1 + + #################################################### + # Directory where the script tksol will be located # + #################################################### +-BINDIR = /homes/bao/src/test/tksol ++BINDIR = ${PREFIX}/bin + + ##################################################### + # Directory where the tksol manpage will be located # + ##################################################### +-MANDIR = /homes/bao/src/man ++MANDIR = ${PREFIX}/man/man6 + + #################################################################### + # Directory where the bitmaps for the faceup cards will be located # + #################################################################### +-CARDBITMAPS = /homes/bao/src/test/tksol/cardbitmaps ++CARDBITMAPS = ${PREFIX}/lib/tk4.1/tksol/cardbitmaps + + ###################################################################### + # Directory where the bitmaps for the facedown cards will be located # + ###################################################################### +-DOWNBITMAPS = /homes/bao/src/test/tksol/downbitmaps ++DOWNBITMAPS = ${PREFIX}/lib/tk4.1/tksol/downbitmaps + + ##################################################################### + # Specify whether your wish has the TkPixmap patch installed or not # +@@ -59,10 +59,10 @@ + $(SED) $(BINSCRIPT) tksol.in > tksol + + tksol.1: tksol.man Makefile +- $(SED) $(MANSCRIPT) tksol.man > tksol.1 ++ $(SED) $(MANSCRIPT) tksol.man > tksol.6 + + clean: +- $(RM) tksol tksol.1 ++ $(RM) tksol tksol.6 + + install: instbin instman instbitmap + +@@ -91,6 +91,6 @@ + $(INSTALL) * $(DOWNBITMAPS); \ + fi + +-instman: tksol.1 ++instman: tksol.6 + -$(MKDIR) $(MANDIR) +- $(INSTALL) tksol.1 $(MANDIR)/tksol.1 ++ $(INSTALL) tksol.6 $(MANDIR)/tksol.6 diff --git a/games/tksol/files/patch-c b/games/tksol/files/patch-c new file mode 100644 index 000000000000..5ec4a632fca0 --- /dev/null +++ b/games/tksol/files/patch-c @@ -0,0 +1,9 @@ +--- tksol.man.orig Mon Feb 14 13:23:15 1994 ++++ tksol.man Fri Jan 3 03:20:10 1997 +@@ -1,5 +1,5 @@ + .\" Copyright (c) 1993 by Bao Trinh +-.TH TKSOL 1 "January 5, 1994" ++.TH TKSOL 6 "January 5, 1994" + .SH NAME + tksol \- Tcl/Tk based solitaire card game + .PP diff --git a/games/tksol/pkg-plist b/games/tksol/pkg-plist index 597929a09766..b98488ca34ec 100644 --- a/games/tksol/pkg-plist +++ b/games/tksol/pkg-plist @@ -56,4 +56,4 @@ lib/tk4.1/tksol/cardbitmaps/s9 lib/tk4.1/tksol/downbitmaps/bk_circles lib/tk4.1/tksol/downbitmaps/bk_darts lib/tk4.1/tksol/downbitmaps/bk_lines -man/man1/tksol.1.gz +man/man6/tksol.6.gz diff --git a/games/xmine/Makefile b/games/xmine/Makefile index c2b0e2d6d4e7..289f9addc08f 100644 --- a/games/xmine/Makefile +++ b/games/xmine/Makefile @@ -3,7 +3,7 @@ # Date created: 25 December 1994 # Whom: joerg # -# $Id: Makefile,v 1.10 1996/11/18 11:26:03 asami Exp $ +# $Id: Makefile,v 1.11 1996/11/18 13:59:23 asami Exp $ # DISTNAME= xmine-1.0.3-Xaw @@ -16,6 +16,6 @@ MAINTAINER= joerg@FreeBSD.org LIB_DEPENDS= Xaw3d\\.:${PORTSDIR}/x11/Xaw3d USE_IMAKE= yes -MAN1= xmine.1 +MAN6= xmine.6 .include diff --git a/games/xmine/files/patch-ab b/games/xmine/files/patch-ab index 457ec6e67d37..74bf3cb18498 100644 --- a/games/xmine/files/patch-ab +++ b/games/xmine/files/patch-ab @@ -1,15 +1,11 @@ -*** Imakefile~ Mon Dec 26 12:50:19 1994 ---- Imakefile Mon Dec 26 12:53:45 1994 -*************** -*** 1,5 **** - /* if you have Xaw3d installed, you might wish to use this: */ -! #define UseXaw3d 0 - - /* for debugging: */ - /* CDEBUGFLAGS = -g -O2 */ ---- 1,5 ---- - /* if you have Xaw3d installed, you might wish to use this: */ -! #define UseXaw3d YES - - /* for debugging: */ - /* CDEBUGFLAGS = -g -O2 */ +--- Imakefile.orig Fri Jan 3 03:25:27 1997 ++++ Imakefile Fri Jan 3 03:29:04 1997 +@@ -1,5 +1,7 @@ ++MANSUFFIX=6 ++ + /* if you have Xaw3d installed, you might wish to use this: */ +-#define UseXaw3d 0 ++#define UseXaw3d YES + + /* for debugging: */ + /* CDEBUGFLAGS = -g -O2 */ diff --git a/games/xmine/files/patch-ac b/games/xmine/files/patch-ac new file mode 100644 index 000000000000..44f1f7ad6b2e --- /dev/null +++ b/games/xmine/files/patch-ac @@ -0,0 +1,8 @@ +--- xmine.man.orig Mon Mar 28 10:15:52 1994 ++++ xmine.man Fri Jan 3 03:27:40 1997 +@@ -1,4 +1,4 @@ +-.TH XMINE 1 ++.TH XMINE 6 + .SH NAME + xmine \- identify mines in a mine field without getting blown up + .SH SYNOPSIS diff --git a/games/xmine/pkg-plist b/games/xmine/pkg-plist index 05e0959837dd..e9215a64f2ae 100644 --- a/games/xmine/pkg-plist +++ b/games/xmine/pkg-plist @@ -1,3 +1,3 @@ bin/xmine lib/X11/app-defaults/Xmine -man/man1/xmine.1.gz +man/man6/xmine.6.gz -- cgit v1.2.3