ports/94371: Patch port: lang/tcltutor make it usable
Serge Gagnon
serge.gagnon at b2b2c.ca
Sat Mar 11 20:20:39 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list