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/tclX/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lang/tclX/Makefile') 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 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 - -PKG_ARGS+= -i ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish +.include -- cgit