diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1997-01-03 11:33:21 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1997-01-03 11:33:21 +0000 |
commit | 8ea0a445575ed620d884c8b7c77c9446a29af489 (patch) | |
tree | a8f20d750fe4c4f7e18ed34be411c0c036ea3f30 /games/tksol | |
parent | 8a6f763ea3e54f46eb59565a310220f33ce6762d (diff) | |
download | ports-8ea0a445575ed620d884c8b7c77c9446a29af489.tar.gz ports-8ea0a445575ed620d884c8b7c77c9446a29af489.zip |
Have manpage installed in man6 where games belong.
and some /usr/local hardcodings --> ${PREFIX}
Notes
Notes:
svn path=/head/; revision=5191
Diffstat (limited to 'games/tksol')
-rw-r--r-- | games/tksol/Makefile | 4 | ||||
-rw-r--r-- | games/tksol/files/patch-a | 143 | ||||
-rw-r--r-- | games/tksol/files/patch-c | 9 | ||||
-rw-r--r-- | games/tksol/pkg-plist | 2 |
4 files changed, 78 insertions, 80 deletions
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 <bsd.port.mk> 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 |