diff options
author | asami <asami@FreeBSD.org> | 1998-12-13 16:49:14 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-12-13 16:49:14 +0800 |
commit | aa74ddae1c7e712be36eb3ab96dba8957ff78562 (patch) | |
tree | 7ff873923e8bee372172de186bd14abe52f9cfa3 /lang/tcl83 | |
parent | 2d29ba1fd24b51ac250809a074ee2fe8f3fdc076 (diff) | |
download | freebsd-ports-gnome-aa74ddae1c7e712be36eb3ab96dba8957ff78562.tar.gz freebsd-ports-gnome-aa74ddae1c7e712be36eb3ab96dba8957ff78562.tar.zst freebsd-ports-gnome-aa74ddae1c7e712be36eb3ab96dba8957ff78562.zip |
Use PKG* variables instead of adding extra files to PKG_ARGS.
Diffstat (limited to 'lang/tcl83')
-rw-r--r-- | lang/tcl83/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lang/tcl83/Makefile b/lang/tcl83/Makefile index c1aa4152a1e8..78c18e6e7915 100644 --- a/lang/tcl83/Makefile +++ b/lang/tcl83/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> |