# $OpenBSD: Makefile,v 1.20 2006/08/03 13:09:09 espie Exp $
# $FreeBSD: ports/lang/otcl/Makefile,v 1.6 1999/11/28 18:31:28 steve Exp $

COMMENT=	"MIT Object Tcl"

DISTNAME=	otcl-1.0a8
SHARED_LIBS=	otcl 1.0
CATEGORIES=	lang

HOMEPAGE=	http://www.isi.edu/nsnam/otcl/index.html

# BSD-like
PERMIT_PACKAGE_CDROM=	Yes
PERMIT_PACKAGE_FTP=	Yes
PERMIT_DISTFILES_CDROM=	Yes
PERMIT_DISTFILES_FTP=	Yes
WANTLIB=		c m X11 Xext tcl83

MASTER_SITES=	http://www.isi.edu/nsnam/dist/

LIB_DEPENDS=    tk83.>=1:tk->=8.3,<8.4:x11/tk/8.3

CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS+=--includedir=${PREFIX}/include/tcl8.3/generic \
		--with-tcl-ver=8.3 \
		--with-tk-ver=8.3
CONFIGURE_ENV=	LIBotcl_VERSION=${LIBotcl_VERSION}

NO_REGRESS=	Yes

.include <bsd.port.mk>
