aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-04-29 17:35:25 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-04-29 17:35:25 +0000
commit241b685c14d9f9bbd2d2751a4e3f499c151e8328 (patch)
tree79ed033d76aaccbf1906c0f34e3586a915a3448b /lang
parent23ca1b34d1c946bf23fc780123c0e41ff4c85d43 (diff)
downloadports-241b685c14d9f9bbd2d2751a4e3f499c151e8328.tar.gz
ports-241b685c14d9f9bbd2d2751a4e3f499c151e8328.zip
- Tell TclTutor where its lesson_files.lsn are located
- s/wish/wish8.4 - Bump PORTREVISION PR: 94371 Submitted by: Serge Gagnon <serge.gagnon___b2b2c.ca> Approved by: maintainer timeout (48 days)
Notes
Notes: svn path=/head/; revision=160814
Diffstat (limited to 'lang')
-rw-r--r--lang/tcltutor/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/lang/tcltutor/Makefile b/lang/tcltutor/Makefile
index 2be5f895c4df..9d36fec9e9e9 100644
--- a/lang/tcltutor/Makefile
+++ b/lang/tcltutor/Makefile
@@ -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,10 +18,18 @@ COMMENT= A Tcl/Tk based tutorial for Tcl
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}
${INSTALL_DATA} ${WRKSRC}/about.html ${DOCSDIR}