# New ports collection makefile for:	tcljp
# Version required:	7.3jp
# Date created:		26 March 1995
# Whom:			Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
#
# $Id: Makefile,v 1.6 1995/04/07 05:48:13 asami Exp $
#

DISTNAME=	tcl7.3
PKGNAME=	jp-tcl-7.3
CATEGORIES+=	japanese languages
MASTER_SITES=	ftp://ftp.cs.berkeley.edu/ucb/tcl/
EXTRACT_SUFX=	.tar.Z

PATCH_SITES=	ftp://ftp.sra.co.jp/pub/lang/tcl/jp/
PATCHFILES=	tcl7.3jp-patch.gz tcl7.3jp-update1.gz tcl7.3jp-update2.gz

MAINTAINER=	asami@FreeBSD.ORG

IS_INTERACTIVE=	yes
HAS_CONFIGURE=	yes

pre-install:
	@echo "***********************************************************"
	@echo "*                      W a r n i n g                      *"
	@echo "* This port will overwrite the existing tcl installation. *"
	@echo "* In particular, you will lose your original libtcl.* and *"
	@echo "*  tclsh.                                                 *"
	@echo "***********************************************************"
	@echo -n "Is this ok? (y/n) ==> "
	@(read ans; \
	  case x"$$ans" in \
	    xy*|xY*) \
		return 0; \
		;; \
	    *) \
		echo "Okay, I won't install it then...."; \
		echo "(Don't worry about the following \"*** Error code 1\"s)"; \
		return 1; \
		;; \
	  esac)

.include <bsd.port.mk>
