summaryrefslogtreecommitdiff
path: root/lang/tcl
diff options
context:
space:
mode:
authorminskim <minskim>2005-01-13 14:37:43 +0000
committerminskim <minskim>2005-01-13 14:37:43 +0000
commitad77c118ded13d5e4eee02fe6616383e189e5c3b (patch)
treed843c0a3ea9e3264412f7cd92144a5dc5cdacfde /lang/tcl
parent44bb5ee9b74c4cc1807e3f839087a748ab907d78 (diff)
downloadpkgsrc-ad77c118ded13d5e4eee02fe6616383e189e5c3b.tar.gz
Define TCL_VERSION in a separate file so that it can be included by
other packages (e.g. tcl-tclX).
Diffstat (limited to 'lang/tcl')
-rw-r--r--lang/tcl/Makefile8
-rw-r--r--lang/tcl/Makefile.version3
2 files changed, 8 insertions, 3 deletions
diff --git a/lang/tcl/Makefile b/lang/tcl/Makefile
index 2fc9310fec7..bde3f344ebe 100644
--- a/lang/tcl/Makefile
+++ b/lang/tcl/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.45 2005/01/05 09:15:29 adam Exp $
+# $NetBSD: Makefile,v 1.46 2005/01/13 14:37:43 minskim Exp $
-DISTNAME= tcl8.4.9-src
-PKGNAME= tcl-8.4.9
+DISTNAME= tcl${TCL_VERSION}-src
+PKGNAME= tcl-${TCL_VERSION}
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
@@ -9,6 +9,8 @@ MAINTAINER= jwise@NetBSD.org
HOMEPAGE= http://www.tcl.tk/
COMMENT= Ousterhout's Tool Command Language, a scripting language
+.include "../../lang/tcl/Makefile.version"
+
CONFLICTS+= tclman80-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
diff --git a/lang/tcl/Makefile.version b/lang/tcl/Makefile.version
new file mode 100644
index 00000000000..00191052f17
--- /dev/null
+++ b/lang/tcl/Makefile.version
@@ -0,0 +1,3 @@
+# $NetBSD: Makefile.version,v 1.1 2005/01/13 14:37:43 minskim Exp $
+
+TCL_VERSION=8.4.9