- make SOURCE path in tclConfig.sh variable

PR:             48574
This commit is contained in:
Dirk Meyer 2003-03-23 20:29:13 +00:00
parent be6cf4af50
commit e8786b87cf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77308
2 changed files with 12 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= tcl
PORTVERSION= 8.2.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= lang tcl82
MASTER_SITES= ${MASTER_SITE_TCLTK}
MASTER_SITE_SUBDIR= tcl8_2
@ -26,6 +26,7 @@ MAKE_ENV= SHORT_TCL_VER=82
PKGINSTALL= ${PKGDIR}/pkg-install.tclsh
PKGDEINSTALL= ${PKGDIR}/pkg-deinstall.tclsh
NOPRECIOUSMAKEVARS= yes # Otherwise 'make readmes' is broken
USE_REINPLACE= YES
PLIST_SUB= TCL_VER=8.2 SHORT_TCL_VER=82
@ -369,6 +370,10 @@ MLINKS= Access.3 Tcl_Access.3 \
pkgMkIndex.n pkg_mkIndex.n \
safe.n Safe\Base.n
post-configure:
${REINPLACE_CMD} -e 's=${WRKDIRPREFIX}=$${WRKDIRPREFIX}=' \
${WRKSRC}/tclConfig.sh
.include <bsd.port.pre.mk>
post-extract:

View file

@ -7,6 +7,7 @@
PORTNAME= tcl
PORTVERSION= 8.3.5
PORTREVISION= 1
CATEGORIES= lang tcl83
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tcl
@ -27,6 +28,7 @@ PKGINSTALL= ${PKGDIR}/pkg-install.tclsh
PKGDEINSTALL= ${PKGDIR}/pkg-deinstall.tclsh
TCL_VER= 8.3
NOPRECIOUSMAKEVARS= yes # Otherwise 'make readmes' is broken
USE_REINPLACE= YES
PLIST_SUB= TCL_VER=${TCL_VER} SHORT_TCL_VER=83
@ -420,6 +422,10 @@ MLINKS= Access.3 Tcl_Access.3 \
safe.n Safe\Base.n \
tcltest.n Tcltest.n
post-configure:
${REINPLACE_CMD} -e 's=${WRKDIRPREFIX}=$${WRKDIRPREFIX}=' \
${WRKSRC}/tclConfig.sh
.include <bsd.port.pre.mk>
post-install: