aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/tk84
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/tk84')
-rw-r--r--x11-toolkits/tk84/Makefile12
-rw-r--r--x11-toolkits/tk84/distinfo2
-rw-r--r--x11-toolkits/tk84/pkg-plist1
3 files changed, 11 insertions, 4 deletions
diff --git a/x11-toolkits/tk84/Makefile b/x11-toolkits/tk84/Makefile
index e32ad87c9df6..fec5987842f8 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:
diff --git a/x11-toolkits/tk84/distinfo b/x11-toolkits/tk84/distinfo
index f6ef104fa859..0e22d895253a 100644
--- a/x11-toolkits/tk84/distinfo
+++ b/x11-toolkits/tk84/distinfo
@@ -1 +1 @@
-MD5 (tk8.4.1-src.tar.gz) = 08ccc31fdce679ee01436278144d74ae
+MD5 (tk8.4.2-src.tar.gz) = 04812fcdf6b50bfe89b7d44db3f33f19
diff --git a/x11-toolkits/tk84/pkg-plist b/x11-toolkits/tk84/pkg-plist
index 62aa1e7aaffd..bf3f50fa5ec1 100644
--- a/x11-toolkits/tk84/pkg-plist
+++ b/x11-toolkits/tk84/pkg-plist
@@ -102,6 +102,7 @@ lib/tk%%TK_VER%%/demos/tcolor
lib/tk%%TK_VER%%/demos/text.tcl
lib/tk%%TK_VER%%/demos/timer
lib/tk%%TK_VER%%/demos/twind.tcl
+lib/tk%%TK_VER%%/demos/unicodeout.tcl
lib/tk%%TK_VER%%/demos/vscale.tcl
lib/tk%%TK_VER%%/demos/widget
lib/tk%%TK_VER%%/dialog.tcl