View | Details | Raw Unified | Return to bug 40750 | Differences between
and this patch

Collapse All | Expand All

(-)lang/tcl-manual/Makefile (-4 / +7 lines)
Lines 14-31 Link Here
14
14
15
MAINTAINER=	edwin@mavetju.org
15
MAINTAINER=	edwin@mavetju.org
16
16
17
USE_REINPLACE=	yes
17
NO_WRKSUBDIR=	yes
18
NO_WRKSUBDIR=	yes
18
NO_BUILD=	yes
19
NO_BUILD=	yes
19
20
20
post-patch:
21
post-patch:
21
	@${RM} ${WRKDIR}/tcl8.3.4/html/UserCmd/*.orig
22
	@${RM} ${WRKDIR}/tcl8.3.4/html/UserCmd/*.orig
22
	@${RM} ${WRKDIR}/tcl8.4a3/html/UserCmd/*.orig
23
	@${RM} ${WRKDIR}/tcl8.4a3/html/UserCmd/*.orig
23
	@${PERL} -pi -e 's|tcl\.h|tcl8.3/tcl.h|g' \
24
	@${REINPLACE_CMD} -e 's|tcl\.h|tcl8.3/tcl.h|g' \
24
		${WRKDIR}/tcl8.3.4/html/TclLib/*
25
		${WRKDIR}/tcl8.3.4/html/TclLib/*
25
	@${PERL} -pi -e 's|tk\.h|tk8.3/tk.h|g' ${WRKDIR}/tcl8.3.4/html/TkLib/*
26
	@${REINPLACE_CMD} -e 's|tk\.h|tk8.3/tk.h|g' \
26
	@${PERL} -pi -e 's|tcl\.h|tcl8.4/tcl.h|g' \
27
		${WRKDIR}/tcl8.3.4/html/TkLib/*
28
	@${REINPLACE_CMD} -e 's|tcl\.h|tcl8.4/tcl.h|g' \
27
		${WRKDIR}/tcl8.4a3/html/TclLib/*
29
		${WRKDIR}/tcl8.4a3/html/TclLib/*
28
	@${PERL} -pi -e 's|tk\.h|tk8.4/tk.h|g' ${WRKDIR}/tcl8.4a3/html/TkLib/*
30
	@${REINPLACE_CMD} -e 's|tk\.h|tk8.4/tk.h|g' \
31
		${WRKDIR}/tcl8.4a3/html/TkLib/*
29
32
30
do-install:
33
do-install:
31
	${MKDIR} ${PREFIX}/share/doc/tcl83
34
	${MKDIR} ${PREFIX}/share/doc/tcl83

Return to bug 40750