2006-11-26 08:47:31 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2006/11/26 13:47:31 matthieu Exp $
|
2003-11-19 10:47:15 -05:00
|
|
|
# Uses pthreads (can but does not at the moment)
|
|
|
|
|
|
|
|
COMMENT= "Tool Command Language"
|
|
|
|
|
2004-08-07 02:13:54 -04:00
|
|
|
VERSION= 8.4.7
|
2003-11-19 10:47:15 -05:00
|
|
|
|
|
|
|
DISTNAME= tcl${VERSION}-src
|
2006-11-26 08:47:31 -05:00
|
|
|
PKGNAME= tcl-${VERSION}p4
|
2006-01-08 08:08:01 -05:00
|
|
|
SHARED_LIBS= tcl84 1.0
|
2003-11-19 10:47:15 -05:00
|
|
|
CATEGORIES= lang lang/tcl
|
2003-12-16 23:56:22 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
|
2004-12-22 01:31:05 -05:00
|
|
|
WANTLIB= c m
|
2003-11-19 10:47:15 -05:00
|
|
|
|
2003-12-01 00:48:00 -05:00
|
|
|
HOMEPAGE= http://www.tcl.tk/
|
2003-11-19 10:47:15 -05:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
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
|
2005-11-03 13:28:55 -05:00
|
|
|
AUTOCONF_VERSION=2.13
|
2004-03-04 12:49:26 -05:00
|
|
|
CONFIGURE_STYLE= autoconf no-autoheader
|
2006-01-08 08:08:01 -05:00
|
|
|
CONFIGURE_ENV= PORTSDIR="${PORTSDIR}" \
|
|
|
|
LIBtcl84_VERSION=${LIBtcl84_VERSION}
|
2005-02-19 22:09:35 -05:00
|
|
|
CONFIGURE_ARGS= --includedir="${LOCALBASE}/include/tcl8.4"
|
2003-11-19 10:47:15 -05:00
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/tcl${VERSION}/unix
|
|
|
|
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
REGRESS_TARGET= test
|
|
|
|
# Needs a full network connection to run
|
|
|
|
REGRESS_IS_INTERACTIVE=Yes
|
|
|
|
TESTHOME=${WRKDIR}/testhome
|
|
|
|
REGRESS_FLAGS= HOME=${TESTHOME}
|
|
|
|
pre-regress:
|
|
|
|
@mkdir -p ${TESTHOME}
|
|
|
|
|
|
|
|
post-install:
|
2004-06-25 02:46:54 -04:00
|
|
|
${INSTALL_SCRIPT_DIR} ${PREFIX}/share/aclocal
|
2006-09-29 18:10:53 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/tcl.m4 ${PREFIX}/share/aclocal
|
2003-11-19 10:47:15 -05:00
|
|
|
ranlib ${PREFIX}/lib/libtcl84.a
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|