2002-12-29 15:31:39 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2002/12/29 20:31:41 fgsch Exp $
|
2000-03-26 21:25:16 -05:00
|
|
|
# $FreeBSD: Makefile,v 1.7 1997/12/01 16:50:58 pst Exp $
|
|
|
|
|
2001-05-06 00:41:05 -04:00
|
|
|
COMMENT= "graphical toolkit for Tcl"
|
|
|
|
|
2000-03-26 21:25:16 -05:00
|
|
|
DISTNAME= tk8.0.5
|
|
|
|
PKGNAME= tk-8.0.5
|
2001-10-26 02:57:10 -04:00
|
|
|
CATEGORIES= x11 x11/tk
|
2002-05-15 14:05:18 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_TCLTK:=tcl8_0/}
|
2000-03-26 21:25:16 -05:00
|
|
|
|
2000-07-18 23:27:03 -04:00
|
|
|
HOMEPAGE= http://dev.scriptics.com/software/tcltk/
|
|
|
|
|
|
|
|
LIB_DEPENDS= tcl80.1.5::lang/tcl/8.0
|
2000-03-26 21:25:16 -05:00
|
|
|
|
2000-10-22 12:21:17 -04:00
|
|
|
MAINTAINER= Niklas Hallqvist <niklas@openbsd.org>
|
2000-03-26 21:25:16 -05:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2000-07-18 23:27:03 -04:00
|
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS}"
|
|
|
|
FAKE_FLAGS= INSTALL="install -c" INSTALL_ROOT="${WRKINST}" \
|
|
|
|
BASE_INCLUDE_DIR='$$(prefix)/include/tk$$(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}$$(TK_LIBRARY)/man'
|
2000-03-26 21:25:16 -05:00
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
2001-05-20 08:49:43 -04:00
|
|
|
USE_X11= Yes
|
2000-07-18 23:27:03 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2000-03-26 21:25:16 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2001-07-11 01:50:24 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-static --with-tcl="${LOCALBASE}/lib/tcl8.0"
|
2000-07-18 23:27:03 -04:00
|
|
|
CONFIGURE_ENV= PORTSDIR="${PORTSDIR}"
|
2000-03-26 21:25:16 -05:00
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}/unix
|
|
|
|
|
2001-10-06 13:45:06 -04:00
|
|
|
REGRESS_TARGET= test
|
2001-10-07 07:35:39 -04:00
|
|
|
REGRESS_DEPENDS=::lang/tcl/8.3:regress
|
|
|
|
REGRESS_FLAGS=TCL_BIN_DIR=`cd ${PORTSDIR}/lang/tcl/8.3 && ${MAKE} show=WRKBUILD`
|
|
|
|
# This regression test wants an X11 display
|
|
|
|
REGRESS_FLAGS+=DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
|
|
|
|
REGRESS_IS_INTERACTIVE=Yes
|
2000-03-26 21:25:16 -05:00
|
|
|
|
2001-07-05 19:09:45 -04:00
|
|
|
post-install:
|
|
|
|
@strip ${PREFIX}/bin/wish8.0
|
|
|
|
|
2000-03-26 21:25:16 -05:00
|
|
|
.include <bsd.port.mk>
|