aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tclX/Makefile
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-12-13 16:49:14 +0800
committerasami <asami@FreeBSD.org>1998-12-13 16:49:14 +0800
commitaa74ddae1c7e712be36eb3ab96dba8957ff78562 (patch)
tree7ff873923e8bee372172de186bd14abe52f9cfa3 /lang/tclX/Makefile
parent2d29ba1fd24b51ac250809a074ee2fe8f3fdc076 (diff)
downloadfreebsd-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/tclX/Makefile')
-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>