openbsd-ports/lang/tcl/8.0/Makefile

51 lines
1.3 KiB
Makefile
Raw Normal View History

2002-12-29 15:41:07 -05:00
# $OpenBSD: Makefile,v 1.12 2002/12/29 20:41:08 fgsch Exp $
2000-03-26 21:08:46 -05:00
# $FreeBSD: Makefile,v 1.4 1997/12/01 16:50:49 pst Exp $
COMMENT= "Tool Command Language"
2000-03-26 21:08:46 -05:00
DISTNAME= tcl8.0.5
PKGNAME= tcl-8.0.5
2001-10-26 02:57:10 -04:00
CATEGORIES= lang lang/tcl
2002-05-13 19:31:24 -04:00
MASTER_SITES= ${MASTER_SITE_TCLTK:=tcl8_0/}
2000-03-26 21:08:46 -05:00
HOMEPAGE= http://dev.scriptics.com/software/tcltk/
2000-10-22 10:02:46 -04:00
MAINTAINER= Niklas Hallqvist <niklas@openbsd.org>
2000-03-26 21:08:46 -05:00
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'
2000-03-26 21:08:46 -05:00
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
2000-03-26 21:08:46 -05:00
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
.if (${MACHINE_ARCH} == "mips")
CONFIGURE_ARGS+= --disable-load
.endif
CONFIGURE_ENV= PORTSDIR="${PORTSDIR}"
2000-03-26 21:08:46 -05:00
WRKDIST= ${WRKDIR}/${DISTNAME}/unix
2001-10-06 13:45:06 -04:00
REGRESS_TARGET= test
TESTHOME=${WRKDIR}/testhome
REGRESS_FLAGS= HOME=${TESTHOME}
# Needs a full network connection to run
REGRESS_IS_INTERACTIVE=Yes
pre-regress:
mkdir -p ${TESTHOME}
2000-03-26 21:08:46 -05:00
2001-07-05 19:07:48 -04:00
post-install:
@strip ${PREFIX}/bin/tclsh8.0
2000-03-26 21:08:46 -05:00
.include <bsd.port.mk>