1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

- allow to overwrite TKBASE

package is not changed
This commit is contained in:
Dirk Meyer 2004-11-01 12:53:12 +00:00
parent f1577acfd9
commit 96f20f728d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120576
2 changed files with 7 additions and 3 deletions

View File

@ -18,7 +18,7 @@ COMMENT= Graphical toolkit for TCL
LIB_DEPENDS= tcl82.1:${PORTSDIR}/${TCL82_PORT}
NO_LATEST_LINK= yes
LATEST_LINK= tk82
USE_XLIB= yes
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
@ -307,9 +307,11 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \
.endif
TKBASE?= ${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}
post-configure:
${REINPLACE_CMD} \
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \
-e 's|${WRKDIRPREFIX}${.CURDIR}|$${WRKDIRPREFIX}${TKBASE}|' \
${WRKSRC}/tkConfig.sh
.if !defined(WITH_TK82_MAN)
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \

View File

@ -325,9 +325,11 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \
.endif
TKBASE?= ${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}
post-configure:
${REINPLACE_CMD} \
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \
-e 's|${WRKDIRPREFIX}${.CURDIR}|$${WRKDIRPREFIX}${TKBASE}|' \
${WRKSRC}/tkConfig.sh
.if !defined(WITH_TK83_MAN)
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \