head	1.8;
access;
symbols
	RELEASE_8_3_0:1.7
	RELEASE_9_0_0:1.7
	RELEASE_7_4_0:1.7
	RELEASE_8_2_0:1.7
	RELEASE_6_EOL:1.7
	RELEASE_8_1_0:1.7
	RELEASE_7_3_0:1.7
	RELEASE_8_0_0:1.7
	RELEASE_7_2_0:1.6
	RELEASE_7_1_0:1.6
	RELEASE_6_4_0:1.6
	RELEASE_5_EOL:1.6
	RELEASE_7_0_0:1.6
	RELEASE_6_3_0:1.6
	PRE_XORG_7:1.6
	RELEASE_4_EOL:1.6
	RELEASE_6_2_0:1.6
	RELEASE_6_1_0:1.5
	RELEASE_5_5_0:1.5
	RELEASE_6_0_0:1.5
	RELEASE_5_4_0:1.5
	RELEASE_4_11_0:1.5
	RELEASE_5_3_0:1.4
	RELEASE_4_10_0:1.4
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.4
	RELEASE_5_1_0:1.4
	RELEASE_4_8_0:1.4
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.3
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1;
locks; strict;
comment	@# @;


1.8
date	2012.11.17.05.58.57;	author svnexp;	state Exp;
branches;
next	1.7;

1.7
date	2009.08.22.00.24.35;	author amdmi3;	state Exp;
branches;
next	1.6;

1.6
date	2006.05.09.20.52.22;	author edwin;	state Exp;
branches;
next	1.5;

1.5
date	2004.11.18.01.53.51;	author edwin;	state Exp;
branches;
next	1.4;

1.4
date	2003.02.21.12.35.08;	author knu;	state Exp;
branches;
next	1.3;

1.3
date	2002.09.21.17.04.38;	author ijliao;	state Exp;
branches;
next	1.2;

1.2
date	2002.07.19.09.26.31;	author ijliao;	state Exp;
branches;
next	1.1;

1.1
date	2001.12.19.19.49.39;	author petef;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Switch exporter over
@
text
@# New ports collection makefile for:   tcl-manual
# Date created:        13 December 2001
# Whom:                Edwin Groothuis (edwin@@mavetju.org)
#
# $FreeBSD: head/lang/tcl-manual/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	tcl-manual
PORTVERSION=	20041118
CATEGORIES=	lang
MASTER_SITES=	SF/tcl/Tcl/8.3.5
DISTFILES=	tcl8.3.5-html.tar.gz tcl8.4.7-html.tar.gz tcl8.5a1-html.tar.gz

MAINTAINER=	edwin@@mavetju.org
COMMENT=	Documentation for TCL (Tool Command Language)

NO_WRKSUBDIR=	yes
NO_BUILD=	yes

post-patch:
	@@${FIND} ${WRKSRC} -name "*.orig" -delete
	@@${REINPLACE_CMD} -e 's|tcl\.h|tcl8.3/tcl.h|g' \
		${WRKDIR}/tcl8.3.5/html/TclLib/*
	@@${REINPLACE_CMD} -e 's|tk\.h|tk8.3/tk.h|g' \
		${WRKDIR}/tcl8.3.5/html/TkLib/*
	@@${REINPLACE_CMD} -e 's|tcl\.h|tcl8.4/tcl.h|g' \
		${WRKDIR}/tcl8.4.7/html/TclLib/*
	@@${REINPLACE_CMD} -e 's|tk\.h|tk8.4/tk.h|g' \
		${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/*
	@@${FIND} ${WRKSRC} -name "*.bak" -delete

do-install:
	${MKDIR} ${PREFIX}/share/doc/tcl83
	${MKDIR} ${PREFIX}/share/doc/tcl84
	${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

.include <bsd.port.mk>
@


1.7
log
@- Switch SourceForge ports to the new File Release System: categories starting with H,I,J,K,L
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.6
log
@Remove USE_REINPLACE from the categories starting with L
@
text
@d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	tcl
@


1.5
log
@Update to newer version of these documents.
Also included tcl8.5 documentation

version	new version
8.3.4	8.3.5
8.4a1	8.4.7
-	8.5a1
@
text
@a17 1
USE_REINPLACE=	yes
@


1.4
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	2001.12.19
d13 1
a13 1
DISTFILES=	tcl8.3.4.html.tar.gz tcl8.4a3.html.tar.gz
d23 1
a23 2
	@@${RM} ${WRKDIR}/tcl8.3.4/html/UserCmd/*.orig
	@@${RM} ${WRKDIR}/tcl8.4a3/html/UserCmd/*.orig
d25 1
a25 1
		${WRKDIR}/tcl8.3.4/html/TclLib/*
d27 1
a27 1
		${WRKDIR}/tcl8.3.4/html/TkLib/*
d29 1
a29 1
		${WRKDIR}/tcl8.4a3/html/TclLib/*
d31 5
a35 1
		${WRKDIR}/tcl8.4a3/html/TkLib/*
d41 4
a44 2
	${CP} -R ${WRKDIR}/tcl8.4a3/html/* ${PREFIX}/share/doc/tcl84
	${CP} -R ${WRKDIR}/tcl8.3.4/html/* ${PREFIX}/share/doc/tcl83
@


1.3
log
@fix plist problem by removing extra files which are generated by reinplace

PR:		43162
Submitted by:	maintainer
Noticed by:	bento log
@
text
@d16 1
@


1.2
log
@${PERL} -> ${REINPLACE_CMD}
${SED} -> ${REINPLACE_CMD}

PR:		40750
Submitted by:	40751
Reviewed by:	maintainer
@
text
@d32 1
@


1.1
log
@Add tcl-manual 2001.12.19, documentation for TCL (Tool Command
Language).

PR:		32925
Submitted by:	Edwin Groothuis (edwin@@mavetju.org)
@
text
@d17 1
d24 1
a24 1
	@@${PERL} -pi -e 's|tcl\.h|tcl8.3/tcl.h|g' \
d26 3
a28 2
	@@${PERL} -pi -e 's|tk\.h|tk8.3/tk.h|g' ${WRKDIR}/tcl8.3.4/html/TkLib/*
	@@${PERL} -pi -e 's|tcl\.h|tcl8.4/tcl.h|g' \
d30 2
a31 1
	@@${PERL} -pi -e 's|tk\.h|tk8.4/tk.h|g' ${WRKDIR}/tcl8.4a3/html/TkLib/*
@

