diff options
author | pst <pst@FreeBSD.org> | 1996-03-16 13:01:43 +0800 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1996-03-16 13:01:43 +0800 |
commit | 92a5a71f2521320a05b59be803190b884adad994 (patch) | |
tree | a505ed6cb06653481a9f07ef593e685b45263aab /lang/tclX/Makefile | |
parent | 86cd22bb90167fa78763fcf419c1f09db949eb54 (diff) | |
download | freebsd-ports-gnome-92a5a71f2521320a05b59be803190b884adad994.tar.gz freebsd-ports-gnome-92a5a71f2521320a05b59be803190b884adad994.tar.zst freebsd-ports-gnome-92a5a71f2521320a05b59be803190b884adad994.zip |
TclX v7.5
Diffstat (limited to 'lang/tclX/Makefile')
-rw-r--r-- | lang/tclX/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/lang/tclX/Makefile b/lang/tclX/Makefile new file mode 100644 index 000000000000..6d3144113dbb --- /dev/null +++ b/lang/tclX/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: tclX +# Version required: 7.5-b3 +# Date created: 6 February 1996 +# Whom: jkh +# +# $Id: Makefile,v 1.2 1996/02/08 01:27:44 asami Exp $ +# + +DISTNAME= tclX7.5.0-b3 +PKGNAME= tclX7.5.0-b3 +CATEGORIES+= lang +MASTER_SITES= ftp://ftp.neosoft.com/pub/tcl/distrib/ + +TCL_DIR= ${PORTSDIR}/lang/tcl75 +TCL_SRC= ${TCL_DIR}/work/tcl7.5b3 + +TK_DIR= ${PORTSDIR}/x11/tk41 +TK_SRC= ${TK_DIR}/work/tk4.1b3 + +DEPENDS= ${TCL_DIR} ${TK_DIR} +LIB_DEPENDS= tcl7\\.5\\.1:${TCL_DIR} \ + tk4\\.1\\.1:${TK_DIR} + +WRKSRC= ${WRKDIR}/${DISTNAME}/unix +GNU_CONFIGURE= yes +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_CONFIG=$${srcbasedir};TCL_CONFIG=${TCL_SRC};' \ + -e 's;TCL_LIB=$${bldbasedir};TCL_LIB=${TCL_SRC};' \ + -e 's;TCL_SHLIB_DIR=$${bldbasedir};TCL_SHLIB_DIR=${TCL_SRC};' \ + -e 's;TK_SRC=$${srcbasedir};TK_SRC=${TK_SRC};' \ + -e 's;TK_CONFIG=$${srcbasedir};TK_CONFIG=${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: + /sbin/ldconfig -m ${PREFIX}/lib + +.include <bsd.port.mk> |