From 5fab1722aad31a21935a5f22e27013ebab45ede7 Mon Sep 17 00:00:00 2001 From: edwin Date: Sun, 23 Oct 2005 00:26:53 +0000 Subject: Fix localbase issue Noticed by: YAPHR --- lang/tcltutor/Makefile | 2 +- lang/tcltutor/files/patch-aa | 39 +++++---------------------------------- 2 files changed, 6 insertions(+), 35 deletions(-) (limited to 'lang/tcltutor') 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 -- cgit