aboutsummaryrefslogtreecommitdiff
path: root/games/gnushogi
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-01-03 11:33:21 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-01-03 11:33:21 +0000
commit8ea0a445575ed620d884c8b7c77c9446a29af489 (patch)
treea8f20d750fe4c4f7e18ed34be411c0c036ea3f30 /games/gnushogi
parent8a6f763ea3e54f46eb59565a310220f33ce6762d (diff)
downloadports-8ea0a445575ed620d884c8b7c77c9446a29af489.tar.gz
ports-8ea0a445575ed620d884c8b7c77c9446a29af489.zip
Notes
Diffstat (limited to 'games/gnushogi')
-rw-r--r--games/gnushogi/Makefile10
-rw-r--r--games/gnushogi/files/patch-aa97
-rw-r--r--games/gnushogi/pkg-plist2
3 files changed, 52 insertions, 57 deletions
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 <Nakai@Mlab.t.u-tokyo.ac.jp>
#
-# $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