2013-09-20 21:53:09 +02:00
|
|
|
# Created by: Edwin Groothuis (edwin@mavetju.org)
|
2001-01-05 18:26:22 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tcltutor
|
|
|
|
PORTVERSION= 2.b.4
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 5
|
2008-04-09 15:42:26 +02:00
|
|
|
CATEGORIES= lang tcl tk
|
2001-01-05 18:26:22 +01:00
|
|
|
MASTER_SITES= http://www.msen.com/~clif/
|
|
|
|
DISTNAME= Tutor2b4
|
|
|
|
|
2001-04-05 17:26:15 +02:00
|
|
|
MAINTAINER= edwin@mavetju.org
|
2003-02-21 13:35:09 +01:00
|
|
|
COMMENT= A Tcl/Tk based tutorial for Tcl
|
2001-01-05 18:26:22 +01:00
|
|
|
|
2003-10-20 12:00:51 +02:00
|
|
|
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
|
|
|
|
tkman:${PORTSDIR}/misc/tkman
|
2001-01-05 18:26:22 +01:00
|
|
|
|
2006-04-29 19:35:25 +02:00
|
|
|
REINPLACE_ARGS= -i ""
|
2001-01-05 18:26:22 +01:00
|
|
|
WRKSRC= ${WRKDIR}/TclTutor
|
|
|
|
NO_BUILD= yes
|
2003-10-19 02:27:02 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/tcltutor/TclTutor/}
|
|
|
|
|
2013-09-20 21:53:09 +02:00
|
|
|
NO_STAGE= yes
|
2006-04-29 19:35:25 +02:00
|
|
|
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
|
|
|
|
|
2003-10-19 02:27:02 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/help.html ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/about.html ${DOCSDIR}
|
2003-10-21 01:21:04 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/NOTICE ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
2001-01-05 18:26:22 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|