aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/tk84/Makefile
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-03-24 04:32:14 +0800
committerdinoex <dinoex@FreeBSD.org>2003-03-24 04:32:14 +0800
commita34170efaa4f636429da89ca0268dfbffa2864d0 (patch)
tree261d1105b64e4c25212eade067bbf2c227872696 /x11-toolkits/tk84/Makefile
parent5ead3188bac7dd2f67aeb954f84f2d101cf57544 (diff)
downloadfreebsd-ports-graphics-a34170efaa4f636429da89ca0268dfbffa2864d0.tar.gz
freebsd-ports-graphics-a34170efaa4f636429da89ca0268dfbffa2864d0.tar.zst
freebsd-ports-graphics-a34170efaa4f636429da89ca0268dfbffa2864d0.zip
- Update to 8.4.2
- make dependency configureable with TCL84_PORT - make SOURCE path in tkConfig.sh variable PR: 48574
Diffstat (limited to 'x11-toolkits/tk84/Makefile')
-rw-r--r--x11-toolkits/tk84/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/x11-toolkits/tk84/Makefile b/x11-toolkits/tk84/Makefile
index e32ad87c9df..fec5987842f 100644
--- a/x11-toolkits/tk84/Makefile
+++ b/x11-toolkits/tk84/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tk
-PORTVERSION= 8.4.1
+PORTVERSION= 8.4.2
PORTEPOCH= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -16,8 +16,8 @@ DISTNAME= ${PORTNAME}${PORTVERSION}-src
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Graphical toolkit for TCL
-BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/lang/tcl84:build
-LIB_DEPENDS= tcl84.1:${PORTSDIR}/lang/tcl84
+BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${TCL84_PORT}:build
+LIB_DEPENDS= tcl84.1:${PORTSDIR}/${TCL84_PORT}
LATEST_LINK= tk84
USE_XLIB= yes
@@ -33,6 +33,8 @@ PLIST_SUB= TK_VER=${TK_VER} SHORT_TK_VER=${SHORT_TK_VER}
PKGINSTALL= ${PKGDIR}/pkg-install.wish
PKGDEINSTALL= ${PKGDIR}/pkg-deinstall.wish
NOPRECIOUSMAKEVARS= yes # Otherwise 'make readmes' is broken
+TCL84_PORT?= lang/tcl84
+USE_REINPLACE= YES
MANCOMPRESSED= no
@@ -338,6 +340,10 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \
text.n tk_textCut.n \
text.n tk_textPaste.n
+post-configure:
+ ${REINPLACE_CMD} -e 's=${WRKDIRPREFIX}=$${WRKDIRPREFIX}=' \
+ ${WRKSRC}/tkConfig.sh
+
.include <bsd.port.pre.mk>
post-install: