1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- allow to set TCLBASE

package not changed
This commit is contained in:
Dirk Meyer 2004-11-01 12:46:24 +00:00
parent 986a57262f
commit f1577acfd9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120575
3 changed files with 9 additions and 3 deletions

View File

@ -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}|' \

View File

@ -427,9 +427,11 @@ MLINKS= Access.3 Tcl_Access.3 \
.endif
TCLBASE?= ${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}
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_TCL83_MAN)
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \

View File

@ -602,9 +602,11 @@ post-patch:
.endif
TCLBASE?= ${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}
post-configure:
${REINPLACE_CMD} \
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \
-e 's|${WRKDIRPREFIX}${.CURDIR}|$${WRKDIRPREFIX}${TCLBASE}|' \
${WRKSRC}/tclConfig.sh
.if defined(WITHOUT_TCL84_MAN)
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \