summaryrefslogtreecommitdiff
path: root/x11/tk
diff options
context:
space:
mode:
authorminskim <minskim>2005-09-08 21:25:15 +0000
committerminskim <minskim>2005-09-08 21:25:15 +0000
commitcdbc6a78cc9e79678bba2f19c38f3afec77fc7f5 (patch)
tree648688f5509c9842f933a9ce0363e3cf1dee054f /x11/tk
parenta71feac73afbe1c45968f9a9f5d1dd0c9b7ae94a (diff)
downloadpkgsrc-cdbc6a78cc9e79678bba2f19c38f3afec77fc7f5.tar.gz
Define TK_VERSION in a separate file so that it can be included by
other packages such as tcl-tkX, which is currently broken due to the hardcoded Tk version.
Diffstat (limited to 'x11/tk')
-rw-r--r--x11/tk/Makefile8
-rw-r--r--x11/tk/Makefile.version3
2 files changed, 8 insertions, 3 deletions
diff --git a/x11/tk/Makefile b/x11/tk/Makefile
index 30cad258fcc..3a2fd9a5754 100644
--- a/x11/tk/Makefile
+++ b/x11/tk/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.48 2005/08/31 09:40:15 seb Exp $
+# $NetBSD: Makefile,v 1.49 2005/09/08 21:25:15 minskim Exp $
-DISTNAME= tk8.4.11-src
-PKGNAME= tk-8.4.11
+DISTNAME= tk${TK_VERSION}-src
+PKGNAME= tk-${TK_VERSION}
PKGREVISION= 1
CATEGORIES= x11 lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
@@ -10,6 +10,8 @@ MAINTAINER= jwise@NetBSD.org
HOMEPAGE= http://www.tcl.tk/
COMMENT= Graphical toolkit for TCL
+.include "../../x11/tk/Makefile.version"
+
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/${DISTNAME:C/-src//}/unix
diff --git a/x11/tk/Makefile.version b/x11/tk/Makefile.version
new file mode 100644
index 00000000000..06f63874d4d
--- /dev/null
+++ b/x11/tk/Makefile.version
@@ -0,0 +1,3 @@
+# $NetBSD: Makefile.version,v 1.1 2005/09/08 21:25:15 minskim Exp $
+
+TK_VERSION=8.4.11