freebsd-ports/games/tksol/files/patch-a
Steve Price bc087374d3 Update to use Tcl/Tk version 8.2.
Submitted by:	Ade Lovett <ade@lovett.com>
1999-11-28 18:32:45 +00:00

66 lines
2.2 KiB
Text

--- 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/wish8.2
####################################################
# 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}/share/games/tksol/cardbitmaps
######################################################################
# Directory where the bitmaps for the facedown cards will be located #
######################################################################
-DOWNBITMAPS = /homes/bao/src/test/tksol/downbitmaps
+DOWNBITMAPS = ${PREFIX}/share/games/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