pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/tcl Define TCL_VERSION in a separate file so that...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/310ab624eabb
branches:  trunk
changeset: 487384:310ab624eabb
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Jan 13 14:37:43 2005 +0000

description:
Define TCL_VERSION in a separate file so that it can be included by
other packages (e.g. tcl-tclX).

diffstat:

 lang/tcl/Makefile         |  8 +++++---
 lang/tcl/Makefile.version |  3 +++
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 9f290f301253 -r 310ab624eabb lang/tcl/Makefile
--- a/lang/tcl/Makefile Thu Jan 13 13:35:13 2005 +0000
+++ b/lang/tcl/Makefile Thu Jan 13 14:37:43 2005 +0000
@@ -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 @@
 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 -r 9f290f301253 -r 310ab624eabb lang/tcl/Makefile.version
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/tcl/Makefile.version Thu Jan 13 14:37:43 2005 +0000
@@ -0,0 +1,3 @@
+# $NetBSD: Makefile.version,v 1.1 2005/01/13 14:37:43 minskim Exp $
+
+TCL_VERSION=8.4.9



Home | Main Index | Thread Index | Old Index