aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/tk82
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-03-23 20:31:12 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-03-23 20:31:12 +0000
commit92effce53f53fb821372d554aa042e7cd091a308 (patch)
tree22e0004643700defa17323a898482ece85f0057e /x11-toolkits/tk82
parent0bb946dfefe31d10cc24b8ef470d97a6f966d4a1 (diff)
downloadports-92effce53f53fb821372d554aa042e7cd091a308.tar.gz
ports-92effce53f53fb821372d554aa042e7cd091a308.zip
- make dependency configureable with TCL82_PORT
- make SOURCE path in tkConfig.sh variable PR: 48574
Notes
Notes: svn path=/head/; revision=77310
Diffstat (limited to 'x11-toolkits/tk82')
-rw-r--r--x11-toolkits/tk82/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11-toolkits/tk82/Makefile b/x11-toolkits/tk82/Makefile
index 0b0c240b3820..194e150cadba 100644
--- a/x11-toolkits/tk82/Makefile
+++ b/x11-toolkits/tk82/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tk
PORTVERSION= 8.2.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-toolkits tk82
MASTER_SITES= ${MASTER_SITE_TCLTK}
MASTER_SITE_SUBDIR= tcl8_2
@@ -16,7 +16,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Graphical toolkit for TCL
-LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82
+LIB_DEPENDS= tcl82.1:${PORTSDIR}/${TCL82_PORT}
NO_LATEST_LINK= yes
USE_XLIB= yes
@@ -31,6 +31,8 @@ MAKE_ENV= SHORT_TK_VER=${SHORT_TK_VER}
PLIST_SUB= TK_VER=${TK_VER} SHORT_TK_VER=${SHORT_TK_VER}
PKGINSTALL= ${PKGDIR}/pkg-install.wish
PKGDEINSTALL= ${PKGDIR}/pkg-deinstall.wish
+TCL82_PORT?= lang/tcl82
+USE_REINPLACE= YES
MANCOMPRESSED= no
@@ -300,6 +302,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: