summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/tk82
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-03-23 20:31:12 +0000
committerdinoex <dinoex@FreeBSD.org>2003-03-23 20:31:12 +0000
commit114d05615d7ea7e7929ead85dc6d9e8aa473b605 (patch)
tree89797d91574d7ffeddae7b8f8870ea155360471c /x11-toolkits/tk82
parent6fbccefb1a0d7ea6f34119651272f663e867804b (diff)
downloadFreeBSD-ports-114d05615d7ea7e7929ead85dc6d9e8aa473b605.zip
FreeBSD-ports-114d05615d7ea7e7929ead85dc6d9e8aa473b605.tar.gz
- make dependency configureable with TCL82_PORT
- make SOURCE path in tkConfig.sh variable PR: 48574
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 0b0c240..194e150 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:
OpenPOWER on IntegriCloud