diff options
author | mnag <mnag@FreeBSD.org> | 2006-04-30 01:35:25 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2006-04-30 01:35:25 +0800 |
commit | b16f9f6daa00315c1fb03ad9337ae47b1a4308c2 (patch) | |
tree | 71a4133b9e2bd8aac3ebec41f1feb0314ce73437 /lang | |
parent | ee7cf423e98405efeb1ce042e14c4aad5df9cb7c (diff) | |
download | freebsd-ports-gnome-b16f9f6daa00315c1fb03ad9337ae47b1a4308c2.tar.gz freebsd-ports-gnome-b16f9f6daa00315c1fb03ad9337ae47b1a4308c2.tar.zst freebsd-ports-gnome-b16f9f6daa00315c1fb03ad9337ae47b1a4308c2.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)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/tcltutor/Makefile | 10 |
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} |