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/tclX | |
parent | 08a9ff8c98b4db96a514b13ce1bc98fc8240691a (diff) | |
download | ports-9b966a20355d47ece20cb6a76a2b51d4054370f9.tar.gz ports-9b966a20355d47ece20cb6a76a2b51d4054370f9.zip |
Use PKG* variables instead of adding extra files to PKG_ARGS.
Notes
Notes:
svn path=/head/; revision=15322
Diffstat (limited to 'lang/tclX')
-rw-r--r-- | lang/tclX/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lang/tclX/Makefile b/lang/tclX/Makefile index e487a958c228..d7f28eea706b 100644 --- a/lang/tclX/Makefile +++ b/lang/tclX/Makefile @@ -3,7 +3,7 @@ # Date created: 6 February 1996 # Whom: jkh # -# $Id: Makefile,v 1.25 1998/10/11 19:51:36 smace Exp $ +# $Id: Makefile,v 1.26 1998/12/01 03:06:30 asami Exp $ # DISTNAME= tclX8.0.2 @@ -20,6 +20,7 @@ FILE_DEPENDS= ${PORTSDIR}/x11-toolkits/tk80 WRKSRC= ${WRKDIR}/${DISTNAME}/unix GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared --with-tk +PKGINSTALL= ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish MAN3= CmdWrite.3 Handles.3 Keylist.3 TclCommandWriting.3 TclXInit.3 \ TclX_KeyedListDelete.3 TclX_KeyedListGet.3 TclX_KeyedListGetKeys.3 \ TclX_KeyedListSet.3 TclX_Main.3 TclX_NewKeyedListObj.3 \ @@ -30,6 +31,7 @@ MAN3= CmdWrite.3 Handles.3 Keylist.3 TclCommandWriting.3 TclXInit.3 \ MANN= Memory.n TclX.n Tcl_DisplayMemory.n Tcl_InitMemory.n \ Tcl_ValidateAllMemory.n ckalloc.n ckfree.n memory.n +.include <bsd.port.pre.mk> post-install: $(INSTALL_MAN) $(WRKSRC)/../doc/CmdWrite.3 $(PREFIX)/man/man3 $(INSTALL_MAN) $(WRKSRC)/../doc/Handles.3 $(PREFIX)/man/man3 @@ -38,10 +40,8 @@ post-install: $(INSTALL_MAN) $(WRKSRC)/../doc/Memory.n $(PREFIX)/man/mann $(INSTALL_MAN) $(WRKSRC)/../doc/TclX.n $(PREFIX)/man/mann ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib -.if exists(${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish) - ${SH} ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish +.if exists(${PKGINSTALL}) + ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} .endif -.include <bsd.port.mk> - -PKG_ARGS+= -i ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish +.include <bsd.port.post.mk> |