aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tcltutor
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-10-23 08:26:53 +0800
committeredwin <edwin@FreeBSD.org>2005-10-23 08:26:53 +0800
commit5fab1722aad31a21935a5f22e27013ebab45ede7 (patch)
treeedb3364830b7efbfef6cca8e3e91a360dd08c9c5 /lang/tcltutor
parentd6ee61d24abb09a1916c80f28fa7475c10ddafc7 (diff)
downloadfreebsd-ports-gnome-5fab1722aad31a21935a5f22e27013ebab45ede7.tar.gz
freebsd-ports-gnome-5fab1722aad31a21935a5f22e27013ebab45ede7.tar.zst
freebsd-ports-gnome-5fab1722aad31a21935a5f22e27013ebab45ede7.zip
Fix localbase issue
Noticed by: YAPHR
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