summaryrefslogtreecommitdiff
path: root/lang/tcl80/Makefile
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-12-13 08:49:14 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-12-13 08:49:14 +0000
commit9b966a20355d47ece20cb6a76a2b51d4054370f9 (patch)
tree782652ebfaba6629b99ca9341ffb3f13e5f0ac42 /lang/tcl80/Makefile
parentDon't write stuff to places other than ${WRKDIR}. (diff)
Use PKG* variables instead of adding extra files to PKG_ARGS.
Notes
Notes: svn path=/head/; revision=15322
Diffstat (limited to 'lang/tcl80/Makefile')
-rw-r--r--lang/tcl80/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/tcl80/Makefile b/lang/tcl80/Makefile
index 44a06426e998..778334b40cb3 100644
--- a/lang/tcl80/Makefile
+++ b/lang/tcl80/Makefile
@@ -3,7 +3,7 @@
# Date created: 19 August 1997
# Whom: jkh
#
-# $Id: Makefile,v 1.8 1998/09/17 22:30:01 steve Exp $
+# $Id: Makefile,v 1.9 1998/11/14 09:43:19 asami Exp $
#
DISTNAME= tcl8.0p2
@@ -17,7 +17,7 @@ WRKSRC= ${WRKDIR}/tcl8.0/unix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
-EXTRA_PKG_ARGS= -i ${PKGDIR}/INSTALL.tclsh
+PKGINSTALL= ${PKGDIR}/INSTALL.tclsh
SHLIB_MAJOR= 1
SHLIB_MINOR= 2
@@ -43,8 +43,8 @@ pre-build:
post-install:
${LN} -sf ${TCL_LIB_FILE} ${PREFIX}/lib/${TCL_LIB}
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-.if exists(${PKGDIR}/INSTALL.tclsh)
- ${SH} ${PKGDIR}/INSTALL.tclsh
+.if exists(${PKGINSTALL})
+ ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL}
.endif
test: