aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/tk83
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-03-24 04:31:44 +0800
committerdinoex <dinoex@FreeBSD.org>2003-03-24 04:31:44 +0800
commit5ead3188bac7dd2f67aeb954f84f2d101cf57544 (patch)
tree09d8f9fe5e93bd385d4d0d29fb9b729e290a6b88 /x11-toolkits/tk83
parent114d05615d7ea7e7929ead85dc6d9e8aa473b605 (diff)
downloadfreebsd-ports-gnome-5ead3188bac7dd2f67aeb954f84f2d101cf57544.tar.gz
freebsd-ports-gnome-5ead3188bac7dd2f67aeb954f84f2d101cf57544.tar.zst
freebsd-ports-gnome-5ead3188bac7dd2f67aeb954f84f2d101cf57544.zip
- make dependency configureable with TCL83_PORT
- make SOURCE path in tkConfig.sh variable PR: 48574
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: