diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1998-12-13 08:49:14 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1998-12-13 08:49:14 +0000 |
commit | 9b966a20355d47ece20cb6a76a2b51d4054370f9 (patch) | |
tree | 782652ebfaba6629b99ca9341ffb3f13e5f0ac42 /lang/tcl82/Makefile | |
parent | Don'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/tcl82/Makefile')
-rw-r--r-- | lang/tcl82/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
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 <bsd.port.pre.mk> + 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 <bsd.port.mk> - -PKG_ARGS+= -i ${PORTSDIR}/lang/tcl80/pkg/INSTALL.tclsh +.include <bsd.port.post.mk> |