aboutsummaryrefslogtreecommitdiff
path: root/lang/tclX
diff options
context:
space:
mode:
Diffstat (limited to 'lang/tclX')
-rw-r--r--lang/tclX/Makefile12
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>