pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/tk-tclX Use TCL_VERSION and TK_VERSION instead of...
details: https://anonhg.NetBSD.org/pkgsrc/rev/66dab44dc595
branches: trunk
changeset: 499086:66dab44dc595
user: minskim <minskim%pkgsrc.org@localhost>
date: Thu Sep 08 21:32:35 2005 +0000
description:
Use TCL_VERSION and TK_VERSION instead of hardcoding the Tcl/Tk
version numbers.
diffstat:
lang/tk-tclX/Makefile | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diffs (46 lines):
diff -r 49e89405dd3f -r 66dab44dc595 lang/tk-tclX/Makefile
--- a/lang/tk-tclX/Makefile Thu Sep 08 21:25:15 2005 +0000
+++ b/lang/tk-tclX/Makefile Thu Sep 08 21:32:35 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2005/05/16 01:15:32 jlam Exp $
+# $NetBSD: Makefile,v 1.27 2005/09/08 21:32:35 minskim Exp $
#
DISTNAME= tclx8.3.5-src
@@ -11,6 +11,9 @@
HOMEPAGE= http://tclx.sourceforge.net/
COMMENT= Extended Tcl (TclX), a set of Tcl extensions for system programming
+.include "../../lang/tcl/Makefile.version"
+.include "../../x11/tk/Makefile.version"
+
CONFLICTS+= tclX-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
@@ -27,9 +30,10 @@
.include "../../mk/bsd.prefs.mk"
-CONFIGURE_ENV+= \
- PKGSRC_TCL_SRC_DIR="${PKGSRCDIR}/lang/tcl/${WRKDIR:T}/tcl8.4.9" \
- PKGSRC_TK_SRC_DIR="${PKGSRCDIR}/x11/tk/${WRKDIR:T}/tk8.4.9"
+PKGSRC_TCL_SRC_DIR="${PKGSRCDIR}/lang/tcl/${WRKDIR:T}/tcl${TCL_VERSION}"
+PKGSRC_TK_SRC_DIR="${PKGSRCDIR}/x11/tk/${WRKDIR:T}/tk${TK_VERSION}"
+CONFIGURE_ENV+= PKGSRC_TCL_SRC_DIR="${PKGSRC_TCL_SRC_DIR}" \
+ PKGSRC_TK_SRC_DIR="${PKGSRC_TK_SRC_DIR}"
MAKE_ENV+= GTAR=${GTAR} CHOWN=${CHOWN} CHMOD=${CHMOD} \
SHAREMODE=${SHAREMODE} SHAREOWN=${SHAREOWN} \
@@ -48,10 +52,10 @@
post-extract:
${MV} ${WRKSRC}/../doc/Memory.n ${WRKSRC}/../doc/TclXMemory.n
- @if [ ! -r ${PKGSRCDIR}/lang/tcl/${WRKDIR:T}/tcl8.4.8 ]; then \
+ @if [ ! -r ${PKGSRC_TCL_SRC_DIR} ]; then \
cd ../../lang/tcl && ${MAKE} extract; \
fi
- @if [ ! -r ${PKGSRCDIR}/x11/tk/${WRKDIR:T}/tk8.4.8 ]; then \
+ @if [ ! -r ${PKGSRC_TK_SRC_DIR} ]; then \
cd ../../x11/tk && ${MAKE} extract; \
fi
Home |
Main Index |
Thread Index |
Old Index