openbsd-ports/lang/tcl/8.3/Makefile
steven 5a2a8155c5 switch tcl and tk MASTER_SITES to sourceforge.
make exmh2 use tcl mirrors directly.

no objection naddy@
2006-02-04 23:50:19 +00:00

53 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.22 2006/02/04 23:50:20 steven Exp $
# Uses pthreads (can but does not at the moment)
COMMENT= "Tool Command Language"
VERSION= 8.3.5
DISTNAME= tcl${VERSION}-src
PKGNAME= tcl-${VERSION}
SHARED_LIBS= tcl83 1.3
CATEGORIES= lang lang/tcl
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
HOMEPAGE= http://dev.scriptics.com/software/tcltk/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m
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_ENV= PORTSDIR="${PORTSDIR}" \
LIBtcl83_VERSION=${LIBtcl83_VERSION}
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:
ranlib ${PREFIX}/lib/libtcl83.a
.include <bsd.port.mk>