# $Id: Portfile,v 1.4 2005/06/14 06:28:46 jkh Exp $

PortSystem 1.0
name			xotcl
version			1.1.1
revision		0
categories		lang
maintainers		darwinports@opendarwin.org
description		Extended Object Tool Command Language
long_description	XOTcl (XOTcl, pronounced exotickle) is an object-oriented scripting language based on MIT's OTcl. It is intended as a value added replacement for OTcl.
platforms		darwin
homepage		http://media.wu-wien.ac.at
master_sites		${homepage}/download/
checksums		md5 d8f97042594ffa076813907155c74a2a
destroot.destdir	DESTDIR=${destroot}
worksrcdir		${portname}-${portversion}/unix
depends_lib		lib:libtk8.4:tk

# Use a reasonable default
set tclconfig ${prefix}/lib
configure.args		--enable-threads --with-tcl=${tclconfig} --with-tk=${prefix}/lib

platform darwin 7 {
	global tclconfig

	set tclconfig /System/Library/Frameworks/Tcl.framework
}
