openbsd-ports/lang/tcl/8.3/Makefile

53 lines
1.4 KiB
Makefile
Raw Normal View History

2006-01-08 07:57:04 -05:00
# $OpenBSD: Makefile,v 1.21 2006/01/08 12:57:04 alek Exp $
# Uses pthreads (can but does not at the moment)
COMMENT= "Tool Command Language"
2000-03-26 21:08:46 -05:00
2002-11-29 04:45:48 -05:00
VERSION= 8.3.5
DISTNAME= tcl${VERSION}-src
PKGNAME= tcl-${VERSION}
2006-01-08 07:57:04 -05:00
SHARED_LIBS= tcl83 1.3
CATEGORIES= lang lang/tcl
2002-05-13 19:31:24 -04:00
MASTER_SITES= ${MASTER_SITE_TCLTK:=tcl8_3/}
2000-03-26 21:08:46 -05:00
HOMEPAGE= http://dev.scriptics.com/software/tcltk/
2000-10-12 08:41:23 -04:00
MAINTAINER= Kevin Lo <kevlo@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
2005-02-24 08:20:41 -05:00
WANTLIB= c m
2000-03-26 21:08:46 -05:00
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}
2006-01-08 07:57:04 -05:00
CONFIGURE_ENV= PORTSDIR="${PORTSDIR}" \
LIBtcl83_VERSION=${LIBtcl83_VERSION}
2000-03-26 21:08:46 -05:00
2002-11-29 04:45:48 -05:00
WRKDIST= ${WRKDIR}/tcl${VERSION}/unix
2000-03-26 21:08:46 -05:00
2001-07-04 03:08:16 -04:00
INSTALL_TARGET= install-strip
2001-10-06 13:45:06 -04:00
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}
2000-03-26 21:08:46 -05:00
post-install:
ranlib ${PREFIX}/lib/libtcl83.a
2000-03-26 21:08:46 -05:00
.include <bsd.port.mk>