mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
241b685c14
- s/wish/wish8.4 - Bump PORTREVISION PR: 94371 Submitted by: Serge Gagnon <serge.gagnon___b2b2c.ca> Approved by: maintainer timeout (48 days)
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# New ports collection makefile for: tcltutor
|
|
# Date created: 11 November 2000
|
|
# Whom: Edwin Groothuis (edwin@mavetju.org)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tcltutor
|
|
PORTVERSION= 2.b.4
|
|
PORTREVISION= 4
|
|
CATEGORIES= lang tk84 tcl84
|
|
MASTER_SITES= http://www.msen.com/~clif/
|
|
DISTNAME= Tutor2b4
|
|
|
|
MAINTAINER= edwin@mavetju.org
|
|
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}
|
|
${INSTALL_DATA} ${WRKSRC}/NOTICE ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|