2001-12-19 20:49:39 +01:00
|
|
|
# New ports collection makefile for: tcl-manual
|
|
|
|
# Date created: 13 December 2001
|
|
|
|
# Whom: Edwin Groothuis (edwin@mavetju.org)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tcl-manual
|
2004-11-18 02:53:51 +01:00
|
|
|
PORTVERSION= 20041118
|
2001-12-19 20:49:39 +01:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= tcl
|
2004-11-18 02:53:51 +01:00
|
|
|
DISTFILES= tcl8.3.5-html.tar.gz tcl8.4.7-html.tar.gz tcl8.5a1-html.tar.gz
|
2001-12-19 20:49:39 +01:00
|
|
|
|
|
|
|
MAINTAINER= edwin@mavetju.org
|
2003-02-21 13:35:09 +01:00
|
|
|
COMMENT= Documentation for TCL (Tool Command Language)
|
2001-12-19 20:49:39 +01:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
post-patch:
|
2004-11-18 02:53:51 +01:00
|
|
|
@${FIND} ${WRKSRC} -name "*.orig" -delete
|
2002-07-19 11:26:31 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|tcl\.h|tcl8.3/tcl.h|g' \
|
2004-11-18 02:53:51 +01:00
|
|
|
${WRKDIR}/tcl8.3.5/html/TclLib/*
|
2002-07-19 11:26:31 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|tk\.h|tk8.3/tk.h|g' \
|
2004-11-18 02:53:51 +01:00
|
|
|
${WRKDIR}/tcl8.3.5/html/TkLib/*
|
2002-07-19 11:26:31 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|tcl\.h|tcl8.4/tcl.h|g' \
|
2004-11-18 02:53:51 +01:00
|
|
|
${WRKDIR}/tcl8.4.7/html/TclLib/*
|
2002-07-19 11:26:31 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|tk\.h|tk8.4/tk.h|g' \
|
2004-11-18 02:53:51 +01:00
|
|
|
${WRKDIR}/tcl8.4.7/html/TkLib/*
|
|
|
|
@${REINPLACE_CMD} -e 's|tcl\.h|tcl8.5/tcl.h|g' \
|
|
|
|
${WRKDIR}/tcl8.5a1/html/TclLib/*
|
|
|
|
@${REINPLACE_CMD} -e 's|tk\.h|tk8.5/tk.h|g' \
|
|
|
|
${WRKDIR}/tcl8.5a1/html/TkLib/*
|
2002-09-21 19:04:38 +02:00
|
|
|
@${FIND} ${WRKSRC} -name "*.bak" -delete
|
2001-12-19 20:49:39 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/tcl83
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/tcl84
|
2004-11-18 02:53:51 +01:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/tcl85
|
|
|
|
${CP} -R ${WRKDIR}/tcl8.5a1/html/* ${PREFIX}/share/doc/tcl85
|
|
|
|
${CP} -R ${WRKDIR}/tcl8.4.7/html/* ${PREFIX}/share/doc/tcl84
|
|
|
|
${CP} -R ${WRKDIR}/tcl8.3.5/html/* ${PREFIX}/share/doc/tcl83
|
2001-12-19 20:49:39 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|