aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tclX/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-10-09 16:19:15 +0800
committertg <tg@FreeBSD.org>1997-10-09 16:19:15 +0800
commite7b9a395fa76f84205e715e5c1a46a847dad215b (patch)
tree19c69d624d32203f7f6dbfe6b5e515102aa7e7cd /lang/tclX/Makefile
parent5e5c79297fdcba6850c4399d0abd8597129fcded (diff)
downloadfreebsd-ports-gnome-e7b9a395fa76f84205e715e5c1a46a847dad215b.tar.gz
freebsd-ports-gnome-e7b9a395fa76f84205e715e5c1a46a847dad215b.tar.zst
freebsd-ports-gnome-e7b9a395fa76f84205e715e5c1a46a847dad215b.zip
Un-break this port. We need it for xtem (PR 3759).
Diffstat (limited to 'lang/tclX/Makefile')
-rw-r--r--lang/tclX/Makefile30
1 files changed, 5 insertions, 25 deletions
diff --git a/lang/tclX/Makefile b/lang/tclX/Makefile
index 11b360f65f34..548f66e29609 100644
--- a/lang/tclX/Makefile
+++ b/lang/tclX/Makefile
@@ -3,7 +3,7 @@
# Date created: 6 February 1996
# Whom: jkh
#
-# $Id: Makefile,v 1.16 1997/08/24 22:20:55 asami Exp $
+# $Id: Makefile,v 1.18 1997/09/12 17:16:18 pst Exp $
#
DISTNAME= tclX7.5.2
@@ -11,14 +11,14 @@ PKGNAME= tclX-7.5.2
CATEGORIES= lang tk41
MASTER_SITES= ftp://ftp.neosoft.com/pub/tcl/tclx-distrib/
-DEPENDS= ${TK_DIR}
-LIB_DEPENDS= tk41\\.1:${TK_DIR}
+LIB_DEPENDS= tk41\\.1:${PORTSDIR}/x11/tk41
-BROKEN= "checking macro values from Config.mk... configure: error: Config.mk does not set TK_CONFIG to a valid path to tkConfig.sh"
+MAINTAINER= ports@FreeBSD.ORG
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-shared --with-tk
+CONFIGURE_ARGS+= --enable-shared --with-tk
+CONFIGURE_ENV+= PREFIX=${PREFIX}
MAN3= CmdWrite.3 Handles.3 Keylist.3 TclCommandWriting.3 \
TclXInit.3 Tcl_HandleAlloc.3 Tcl_HandleFree.3 \
Tcl_HandleTblInit.3 Tcl_HandleTblRelease.3 \
@@ -30,26 +30,6 @@ MAN3= CmdWrite.3 Handles.3 Keylist.3 TclCommandWriting.3 \
MANN= Memory.n TclX.n ckalloc.n memory.n ckfree.n \
Tcl_DisplayMemory.n Tcl_InitMemory.n Tcl_ValidateAllMemory.n
-TCL_BASE= /usr/libdata/tcl
-TCL_SRC= /usr/src/contrib/tcl
-
-TK_DIR= ${PORTSDIR}/x11/tk41
-TK_SRC= ${TK_DIR}/work/tk4.1
-
-pre-configure:
- cd ${WRKSRC} ; \
- mv Config.mk Config.mk.orig2 && \
- 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};' \
- -e 's;TK_LIB=$${bldbasedir};TK_LIB=${TK_SRC};' \
- -e 's;TK_SHLIB_DIR=$${bldbasedir};TK_SHLIB_DIR=${TK_SRC};' \
- Config.mk.orig2 >Config.mk
-
post-install:
$(INSTALL_MAN) $(WRKSRC)/../doc/CmdWrite.3 $(PREFIX)/man/man3
$(INSTALL_MAN) $(WRKSRC)/../doc/Handles.3 $(PREFIX)/man/man3