summaryrefslogtreecommitdiffstats
path: root/lang/tcl82
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-11-01 12:46:24 +0000
committerdinoex <dinoex@FreeBSD.org>2004-11-01 12:46:24 +0000
commit367d5427cb9454760695b1990b7f837888249f2f (patch)
treea7741a7eaa003259dc54fff68d76fe90f29aa51d /lang/tcl82
parent9f4e57d750b4d46cd05bc44d9f00e21c600a3626 (diff)
downloadFreeBSD-ports-367d5427cb9454760695b1990b7f837888249f2f.zip
FreeBSD-ports-367d5427cb9454760695b1990b7f837888249f2f.tar.gz
- allow to set TCLBASE
package not changed
Diffstat (limited to 'lang/tcl82')
-rw-r--r--lang/tcl82/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/tcl82/Makefile b/lang/tcl82/Makefile
index acd56e0..0f3fa55 100644
--- a/lang/tcl82/Makefile
+++ b/lang/tcl82/Makefile
@@ -375,13 +375,15 @@ MLINKS= Access.3 Tcl_Access.3 \
.endif
+TCLBASE?= ${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}
+
post-extract:
${MV} ${WRKDIR}/${DISTNAME}/doc/InitStubs.3 \
${WRKDIR}/${DISTNAME}/doc/Tcl_InitStubs.3
post-configure:
${REINPLACE_CMD} \
- -e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \
+ -e 's|${WRKDIRPREFIX}${.CURDIR}|$${WRKDIRPREFIX}${TCLBASE}|' \
${WRKSRC}/tclConfig.sh
.if !defined(WITH_TCL82_MAN)
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
OpenPOWER on IntegriCloud