aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/tk83
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-03-23 20:31:44 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-03-23 20:31:44 +0000
commit9c80ab3d7f6e8543989207b6e8b9f6643882d7fd (patch)
tree29f9a70ccad94142b7b925f4d7d04cae00d85ee1 /x11-toolkits/tk83
parent92effce53f53fb821372d554aa042e7cd091a308 (diff)
downloadports-9c80ab3d7f6e8543989207b6e8b9f6643882d7fd.tar.gz
ports-9c80ab3d7f6e8543989207b6e8b9f6643882d7fd.zip
Notes
Diffstat (limited to 'x11-toolkits/tk83')
-rw-r--r--x11-toolkits/tk83/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11-toolkits/tk83/Makefile b/x11-toolkits/tk83/Makefile
index d6cee3363356..a3ef609e3f1b 100644
--- a/x11-toolkits/tk83/Makefile
+++ b/x11-toolkits/tk83/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tk
PORTVERSION= 8.3.5
+PORTREVISION= 1
CATEGORIES= x11-toolkits tk83
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tcl
@@ -15,7 +16,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}-src
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Graphical toolkit for TCL
-LIB_DEPENDS= tcl83.1:${PORTSDIR}/lang/tcl83
+LIB_DEPENDS= tcl83.1:${PORTSDIR}/${TCL83_PORT}
LATEST_LINK= tk83
USE_XLIB= yes
@@ -31,6 +32,8 @@ PLIST_SUB= TK_VER=${TK_VER} SHORT_TK_VER=${SHORT_TK_VER}
PKGINSTALL= ${PKGDIR}/pkg-install.wish
PKGDEINSTALL= ${PKGDIR}/pkg-deinstall.wish
NOPRECIOUSMAKEVARS= Too many _MLINKS for README.html
+TCL83_PORT?= lang/tcl83
+USE_REINPLACE= YES
MANCOMPRESSED= no
@@ -316,6 +319,10 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \
palette.n tk_bisque.n \
popup.n tk_popup.n
+post-configure:
+ ${REINPLACE_CMD} -e 's=${WRKDIRPREFIX}=$${WRKDIRPREFIX}=' \
+ ${WRKSRC}/tkConfig.sh
+
.include <bsd.port.pre.mk>
post-install: