From aa74ddae1c7e712be36eb3ab96dba8957ff78562 Mon Sep 17 00:00:00 2001 From: asami Date: Sun, 13 Dec 1998 08:49:14 +0000 Subject: Use PKG* variables instead of adding extra files to PKG_ARGS. --- lang/tcl82/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'lang/tcl82/Makefile') diff --git a/lang/tcl82/Makefile b/lang/tcl82/Makefile index c1aa4152a1e8..78c18e6e7915 100644 --- a/lang/tcl82/Makefile +++ b/lang/tcl82/Makefile @@ -3,7 +3,7 @@ # Date created: 19 August 1997 # Whom: jkh # -# $Id: Makefile,v 1.11 1998/10/03 21:35:20 steve Exp $ +# $Id: Makefile,v 1.12 1998/12/01 03:06:29 asami Exp $ # DISTNAME= tcl8.1a2 @@ -20,6 +20,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared CONFIGURE_ENV= PORTSDIR=${PORTSDIR} +PKGINSTALL= ${PORTSDIR}/lang/tcl80/pkg/INSTALL.tclsh MAN1= tclsh.1 MAN3= AddErrInfo.3 Alloc.3 AllowExc.3 AppInit.3 AssocData.3 Async.3 \ @@ -49,15 +50,15 @@ MANN= Tcl.n after.n append.n array.n bgerror.n binary.n break.n case.n \ variable.n vwait.n while.n MANCOMPRESSED= yes +.include + post-install: ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib -.if exists(${PORTSDIR}/lang/tcl80/pkg/INSTALL.tclsh) - ${SH} ${PORTSDIR}/lang/tcl80/pkg/INSTALL.tclsh +.if exists(${PKGINSTALL}) + ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} .endif test: cd ${WRKSRC} && ${MAKE} test -.include - -PKG_ARGS+= -i ${PORTSDIR}/lang/tcl80/pkg/INSTALL.tclsh +.include -- cgit