# New ports collection makefile for:	ctk
# Version required:	4.0
# Date created:		17 Feb 1996
# Whom:			Thomas Gellekum <tg@FreeBSD.org>
#
# $Id: Makefile,v 1.13 1998/10/04 22:37:29 steve Exp $
#

DISTNAME=	ctk4.0
PKGNAME=	ctk-4.1
CATEGORIES=	misc tcl75
MASTER_SITES=	ftp://ccfadm.eeg.ccf.org/pub/ctk/

MAINTAINER=	ports@freebsd.org

LIB_DEPENDS=	tcl75.1:${PORTSDIR}/lang/tcl75

PATCH_STRIP=	-p1
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-tcl=${PREFIX}/lib/tcl7.5 --enable-shared \
			--with-ncurses --with-libdirs=${PREFIX}/lib \
			--with-incdirs=${PREFIX}/include/tcl7.5
MAN1=		cwish.1

post-install:
	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.mk>
