summaryrefslogtreecommitdiff
path: root/lang/tcltutor
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-10-23 00:26:53 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-10-23 00:26:53 +0000
commit9fd93e27e0a63b3bc526900f6f6cf98e6c23ca03 (patch)
treeebd1f8678db6c8ae8465fdb9eeea841aece03614 /lang/tcltutor
parentFix build error on amd64 with THREADING option. (diff)
Fix localbase issue
Noticed by: YAPHR
Notes
Notes: svn path=/head/; revision=146150
Diffstat (limited to 'lang/tcltutor')
-rw-r--r--lang/tcltutor/Makefile2
-rw-r--r--lang/tcltutor/files/patch-aa39
2 files changed, 6 insertions, 35 deletions
diff --git a/lang/tcltutor/Makefile b/lang/tcltutor/Makefile
index d648abccc414..2be5f895c4df 100644
--- a/lang/tcltutor/Makefile
+++ b/lang/tcltutor/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tcltutor
PORTVERSION= 2.b.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang tk84 tcl84
MASTER_SITES= http://www.msen.com/~clif/
DISTNAME= Tutor2b4
diff --git a/lang/tcltutor/files/patch-aa b/lang/tcltutor/files/patch-aa
index c137d5104014..4b40de0bc888 100644
--- a/lang/tcltutor/files/patch-aa
+++ b/lang/tcltutor/files/patch-aa
@@ -1,40 +1,11 @@
---- ../TclTutor/Makefile Sat Nov 11 23:11:44 2000
-+++ Makefile Sat Nov 11 23:37:04 2000
+--- Makefile.orig Sun Oct 23 08:59:25 2005
++++ Makefile Sun Oct 23 09:00:09 2005
@@ -0,0 +1,8 @@
+#
+# Fake makefile to copy everything into the right directory.
+#
+
+install:
-+ mkdir -p /usr/local/share/doc/TclTutor
-+ install -c -g wheel -o root -m 0644 *.lsn *.cfg /usr/local/share/doc/TclTutor
-+ install -c -g wheel -o root -m 0755 scaler.tcl htmllib.tcl TclTutor.tcl /usr/local/bin
---- ../TclTutor/TclTutor.tcl Tue May 9 02:50:40 2000
-+++ TclTutor.tcl Sat Nov 11 22:58:07 2000
-@@ -1,6 +1,6 @@
- #!/bin/sh
- # \
--exec wish "$0" "$@"
-+exec wish8.4 "$0" "$@"
-
- ;# NAME: TclTutor.tcl
- ;# AUTHOR: Clif Flynt
-@@ -214,6 +214,8 @@
- set Tutor(Tcl.lessonFile) "G:/TCL_STUFF/TclTutor/TclTutor/Tcl0.lsn"
- }
-
-+set Tutor(lessonHome) "/usr/local/share/doc/TclTutor/"
-+set Tutor(Tcl.lessonFile) "Tcl0.lsn"
-
- # Initialize the various state indices.
-
---- ../TclTutor/htmllib.tcl Tue May 9 02:50:39 2000
-+++ htmllib.tcl Sat Nov 11 22:17:29 2000
-@@ -1,6 +1,6 @@
- #!/bin/sh
- # \
--exec wish "$0" ${1+"$@"}
-+exec wish8.4 "$0" ${1+"$@"}
-
- # CONFIGURATION DETAIL: SET THIS FOR YOUR IMAGE VIEWER:
- # (xli, xv, ee, etc)
++ mkdir -p ${PREFIX}/share/doc/TclTutor
++ install -c -g wheel -o root -m 0644 *.lsn *.cfg ${PREFIX}/share/doc/TclTutor
++ install -c -g wheel -o root -m 0755 scaler.tcl htmllib.tcl TclTutor.tcl ${PREFIX}/bin