From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 11 20:20:39 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F266716A41F for ; Sat, 11 Mar 2006 20:20:38 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EE6B43D45 for ; Sat, 11 Mar 2006 20:20:37 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2BKKarb028018 for ; Sat, 11 Mar 2006 20:20:36 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2BKKaX9028017; Sat, 11 Mar 2006 20:20:36 GMT (envelope-from gnats) Resent-Date: Sat, 11 Mar 2006 20:20:36 GMT Resent-Message-Id: <200603112020.k2BKKaX9028017@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Serge Gagnon Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D128016A41F for ; Sat, 11 Mar 2006 20:15:07 +0000 (GMT) (envelope-from serge@quenix1.dyndns.org) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7506643D46 for ; Sat, 11 Mar 2006 20:15:07 +0000 (GMT) (envelope-from serge@quenix1.dyndns.org) Received: from quenix2.dyndns.org ([66.131.244.21]) by VL-MH-MR002.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0IVZ00609C960X60@VL-MH-MR002.ip.videotron.ca> for FreeBSD-gnats-submit@freebsd.org; Sat, 11 Mar 2006 15:15:06 -0500 (EST) Received: from quenix1 ([192.168.0.11] helo=quenix1.dyndns.org) by quenix2.dyndns.org with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FIAUU-000BaR-10; Sat, 11 Mar 2006 15:15:06 -0500 Received: from serge by quenix1.dyndns.org with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FIAUO-00025C-OZ; Sat, 11 Mar 2006 15:15:00 -0500 Message-Id: Date: Sat, 11 Mar 2006 15:15:00 -0500 From: Serge Gagnon Sender: Serge Gagnon To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: edwin@mavetju.org Subject: ports/94371: Patch port: lang/tcltutor make it usable X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Serge Gagnon List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Mar 2006 20:20:39 -0000 >Number: 94371 >Category: ports >Synopsis: Patch port: lang/tcltutor make it usable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 11 20:20:35 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Serge Gagnon >Release: FreeBSD 6.0-STABLE i386 >Organization: me >Environment: System: FreeBSD quenix1.dyndns.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Jan 28 18:10:46 EST 2006 root@quenix1.dyndns.org:/usr/obj/usr/src/sys/QUENIX1 i386 >Description: - Tell TclTutor where its lesson_files.lsn are located - s/wish/wish8.4 - Bump PORTREVISION maintainer is cc'ed >How-To-Repeat: >Fix: --- patch-tcltutor.diff begins here --- diff -urN lang/tcltutor.orig/Makefile lang/tcltutor/Makefile --- lang/tcltutor.orig/Makefile Sat Oct 22 20:26:53 2005 +++ lang/tcltutor/Makefile Sun Mar 5 20:01:27 2006 @@ -7,7 +7,7 @@ PORTNAME= tcltutor PORTVERSION= 2.b.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= lang tk84 tcl84 MASTER_SITES= http://www.msen.com/~clif/ DISTNAME= Tutor2b4 @@ -18,9 +18,17 @@ RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \ tkman:${PORTSDIR}/misc/tkman +REINPLACE_ARGS= -i "" WRKSRC= ${WRKDIR}/TclTutor NO_BUILD= yes DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/tcltutor/TclTutor/} + +post-patch: + ${REINPLACE_CMD} -e "s|wish|wish8.4|" \ + -e "s|scaler.tcl|${PREFIX}/bin/scaler.tcl|" \ + -e "s|htmllib.tcl|${PREFIX}/bin/htmllib.tcl|" \ + -e "s|set Tutor(lessonHome).*|set Tutor(lessonHome) \"${DOCSDIR}/\"|" \ + ${WRKSRC}/TclTutor.tcl post-install: ${INSTALL_DATA} ${WRKSRC}/help.html ${DOCSDIR} --- patch-tcltutor.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: