# $OpenBSD: Makefile,v 1.9 2001/07/04 07:08:16 kevlo Exp $ COMMENT= "Tool Command Language" DISTNAME= tcl8.3.3 PKGNAME= tcl-8.3.3 CATEGORIES= lang NEED_VERSION= 1.402 MASTER_SITES= ${MASTER_SITE_TCLTK} MASTER_SITE_SUBDIR= tcl8_3 HOMEPAGE= http://dev.scriptics.com/software/tcltk/ MAINTAINER= Kevin Lo PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MAKE_FLAGS= CFLAGS="${CFLAGS}" FAKE_FLAGS= INSTALL="install -c" INSTALL_ROOT="${WRKINST}" \ BASE_INCLUDE_DIR='$$(prefix)/include/tcl$$(VERSION)' \ INCLUDE_INSTALL_DIR='$$(INSTALL_ROOT)$$(BASE_INCLUDE_DIR)' \ GENERIC_INCLUDE_INSTALL_DIR='$$(BASE_INCLUDE_DIR)/generic' \ UNIX_INCLUDE_INSTALL_DIR='$$(BASE_INCLUDE_DIR)/unix' \ MAN_INSTALL_DIR='$${INSTALL_ROOT}$$(TCL_LIBRARY)/man' SEPARATE_BUILD= concurrent CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= ${CONFIGURE_SHARED} CONFIGURE_ARGS+= --enable-static .if (${MACHINE_ARCH} == "mips") CONFIGURE_ARGS+= --disable-load .endif CONFIGURE_ENV= PORTSDIR="${PORTSDIR}" WRKDIST= ${WRKDIR}/${DISTNAME}/unix INSTALL_TARGET= install-strip test: build @cd ${WRKSRC}; make test .include