aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tclX80/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/tclX80/Makefile')
-rw-r--r--lang/tclX80/Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/lang/tclX80/Makefile b/lang/tclX80/Makefile
index ca38977c76bc..0e8067e31348 100644
--- a/lang/tclX80/Makefile
+++ b/lang/tclX80/Makefile
@@ -3,7 +3,7 @@
# Date created: 6 February 1996
# Whom: jkh
#
-# $Id: Makefile,v 1.6 1996/06/30 19:29:51 andreas Exp $
+# $Id: Makefile,v 1.7 1996/07/10 07:56:31 asami Exp $
#
DISTNAME= tclX7.5.2
@@ -11,15 +11,14 @@ PKGNAME= tclX-7.5.2
CATEGORIES+= lang
MASTER_SITES= ftp://ftp.neosoft.com/pub/tcl/tclx-distrib/
-TCL_DIR= ${PORTSDIR}/lang/tcl75
-TCL_SRC= ${TCL_DIR}/work/tcl7.5
+TCL_BASE= /usr/libdata/tcl
+TCL_SRC= /usr/src/contrib/tcl
TK_DIR= ${PORTSDIR}/x11/tk41
TK_SRC= ${TK_DIR}/work/tk4.1
-DEPENDS= ${TCL_DIR} ${TK_DIR}
-LIB_DEPENDS= tcl75\\.1:${TCL_DIR} \
- tk41\\.1:${TK_DIR}
+DEPENDS= ${TK_DIR}
+LIB_DEPENDS= tk41\\.1:${TK_DIR}
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
GNU_CONFIGURE= yes
@@ -28,9 +27,10 @@ CONFIGURE_ARGS= --enable-shared --with-tk
pre-configure:
cd ${WRKSRC} ; \
mv Config.mk Config.mk.orig2 && \
- sed -e 's;TCL_SRC=$${srcbasedir};TCL_SRC=${TCL_SRC};' \
- -e 's;TCL_BUILD=$${bldbasedir};TCL_BUILD=${TCL_SRC};' \
- -e 's;TCL_LIB=$${bldbasedir};TCL_LIB=${TCL_SRC};' \
+ sed -e 's;TCL_SRC=$${srcbasedir}/../tcl7.5;TCL_SRC=${TCL_SRC};' \
+ -e 's;TCL_BUILD=$${bldbasedir}/../tcl7.5;TCL_BUILD=${TCL_SRC};' \
+ -e 's;TCL_CONFIG=$${TCL_BUILD}/unix/tclConfig.sh;TCL_CONFIG=${TCL_BASE}/tclConfig.sh;' \
+ -e 's;TCL_LIB=$${TCL_BUILD_LIB_SPEC};TCL_LIB=$${TCL_LIB_SPEC};' \
-e 's;TCL_SHLIB_DIR=$${bldbasedir};TCL_SHLIB_DIR=${TCL_SRC};' \
-e 's;TK_SRC=$${srcbasedir};TK_SRC=${TK_SRC};' \
-e 's;TK_BUILD=$${bldbasedir};TK_BUILD=${TK_SRC};' \
@@ -39,12 +39,12 @@ pre-configure:
Config.mk.orig2 >Config.mk
post-install:
- install -c -m 444 $(WRKSRC)/../doc/CmdWrite.3 $(PREFIX)/man/man3
- install -c -m 444 $(WRKSRC)/../doc/Handles.3 $(PREFIX)/man/man3
- install -c -m 444 $(WRKSRC)/../doc/Keylist.3 $(PREFIX)/man/man3
- install -c -m 444 $(WRKSRC)/../doc/TclXInit.3 $(PREFIX)/man/man3
- install -c -m 444 $(WRKSRC)/../doc/Memory.n $(PREFIX)/man/mann
- install -c -m 444 $(WRKSRC)/../doc/TclX.n $(PREFIX)/man/mann
+ $(INSTALL_MAN) $(WRKSRC)/../doc/CmdWrite.3 $(PREFIX)/man/man3
+ $(INSTALL_MAN) $(WRKSRC)/../doc/Handles.3 $(PREFIX)/man/man3
+ $(INSTALL_MAN) $(WRKSRC)/../doc/Keylist.3 $(PREFIX)/man/man3
+ $(INSTALL_MAN) $(WRKSRC)/../doc/TclXInit.3 $(PREFIX)/man/man3
+ $(INSTALL_MAN) $(WRKSRC)/../doc/Memory.n $(PREFIX)/man/mann
+ $(INSTALL_MAN) $(WRKSRC)/../doc/TclX.n $(PREFIX)/man/mann
.if !defined(NOMANCOMPRESS)
gzip -9nf $(PREFIX)/man/man3/CmdWrite.3
gzip -9nf $(PREFIX)/man/man3/Handles.3