2009-08-11 04:38:41 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2009/08/11 08:42:09 ajacoutot Exp $
|
import tk 8.5
Highlights of Tk 8.5
* New modern theming engine: New and complementary widgets
that make use of platform-specific theming on Mac OS X and
Windows to better fit in with those environments, and
feature an improved look and feel under X11.
* New widgets: Part of the themed widget set, Tk now has
core notebook, combobox, treeview and progressbar widgets.
* text widget: Smooth scrolling, widget peering, and
improved procedures for counting and replacing text.
* Font rendering: Now uses anti-aliased text under X11, and
a more modern text engine (ATSUI) on Mac OS X.
* Additional improvements: Window transparency, new
fullscreen option for windows, enhancements to specific
widgets and window layout, and more.
from Stuart Cassoff (MAINTAINER)
ok steven@
2008-04-25 10:17:25 -04:00
|
|
|
|
2008-10-01 15:48:46 -04:00
|
|
|
COMMENT = graphical toolkit for Tcl
|
import tk 8.5
Highlights of Tk 8.5
* New modern theming engine: New and complementary widgets
that make use of platform-specific theming on Mac OS X and
Windows to better fit in with those environments, and
feature an improved look and feel under X11.
* New widgets: Part of the themed widget set, Tk now has
core notebook, combobox, treeview and progressbar widgets.
* text widget: Smooth scrolling, widget peering, and
improved procedures for counting and replacing text.
* Font rendering: Now uses anti-aliased text under X11, and
a more modern text engine (ATSUI) on Mac OS X.
* Additional improvements: Window transparency, new
fullscreen option for windows, enhancements to specific
widgets and window layout, and more.
from Stuart Cassoff (MAINTAINER)
ok steven@
2008-04-25 10:17:25 -04:00
|
|
|
|
2009-04-24 17:13:13 -04:00
|
|
|
V = 8.5.7
|
2008-10-01 15:48:46 -04:00
|
|
|
DISTNAME = tk${V}
|
2009-08-11 04:38:41 -04:00
|
|
|
PKGNAME = tk-${V}p0
|
2009-04-24 17:13:13 -04:00
|
|
|
SHARED_LIBS = tk85 0.4
|
2008-10-01 15:48:46 -04:00
|
|
|
CATEGORIES = x11 x11/tk
|
|
|
|
HOMEPAGE = http://www.tcl.tk/
|
|
|
|
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
|
import tk 8.5
Highlights of Tk 8.5
* New modern theming engine: New and complementary widgets
that make use of platform-specific theming on Mac OS X and
Windows to better fit in with those environments, and
feature an improved look and feel under X11.
* New widgets: Part of the themed widget set, Tk now has
core notebook, combobox, treeview and progressbar widgets.
* text widget: Smooth scrolling, widget peering, and
improved procedures for counting and replacing text.
* Font rendering: Now uses anti-aliased text under X11, and
a more modern text engine (ATSUI) on Mac OS X.
* Additional improvements: Window transparency, new
fullscreen option for windows, enhancements to specific
widgets and window layout, and more.
from Stuart Cassoff (MAINTAINER)
ok steven@
2008-04-25 10:17:25 -04:00
|
|
|
|
2008-10-01 15:48:46 -04:00
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
import tk 8.5
Highlights of Tk 8.5
* New modern theming engine: New and complementary widgets
that make use of platform-specific theming on Mac OS X and
Windows to better fit in with those environments, and
feature an improved look and feel under X11.
* New widgets: Part of the themed widget set, Tk now has
core notebook, combobox, treeview and progressbar widgets.
* text widget: Smooth scrolling, widget peering, and
improved procedures for counting and replacing text.
* Font rendering: Now uses anti-aliased text under X11, and
a more modern text engine (ATSUI) on Mac OS X.
* Additional improvements: Window transparency, new
fullscreen option for windows, enhancements to specific
widgets and window layout, and more.
from Stuart Cassoff (MAINTAINER)
ok steven@
2008-04-25 10:17:25 -04:00
|
|
|
|
2009-08-11 04:38:41 -04:00
|
|
|
WANTLIB = X11 Xau Xdmcp Xext Xft Xrender Xss c expat fontconfig freetype m z \
|
|
|
|
pthread-stubs xcb
|
import tk 8.5
Highlights of Tk 8.5
* New modern theming engine: New and complementary widgets
that make use of platform-specific theming on Mac OS X and
Windows to better fit in with those environments, and
feature an improved look and feel under X11.
* New widgets: Part of the themed widget set, Tk now has
core notebook, combobox, treeview and progressbar widgets.
* text widget: Smooth scrolling, widget peering, and
improved procedures for counting and replacing text.
* Font rendering: Now uses anti-aliased text under X11, and
a more modern text engine (ATSUI) on Mac OS X.
* Additional improvements: Window transparency, new
fullscreen option for windows, enhancements to specific
widgets and window layout, and more.
from Stuart Cassoff (MAINTAINER)
ok steven@
2008-04-25 10:17:25 -04:00
|
|
|
|
2008-10-01 15:48:46 -04:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=tcl/}
|
|
|
|
DISTFILES = ${DISTNAME}-src.tar.gz
|
import tk 8.5
Highlights of Tk 8.5
* New modern theming engine: New and complementary widgets
that make use of platform-specific theming on Mac OS X and
Windows to better fit in with those environments, and
feature an improved look and feel under X11.
* New widgets: Part of the themed widget set, Tk now has
core notebook, combobox, treeview and progressbar widgets.
* text widget: Smooth scrolling, widget peering, and
improved procedures for counting and replacing text.
* Font rendering: Now uses anti-aliased text under X11, and
a more modern text engine (ATSUI) on Mac OS X.
* Additional improvements: Window transparency, new
fullscreen option for windows, enhancements to specific
widgets and window layout, and more.
from Stuart Cassoff (MAINTAINER)
ok steven@
2008-04-25 10:17:25 -04:00
|
|
|
|
2008-10-01 15:48:46 -04:00
|
|
|
.if ${MACHINE_ARCH} != "m88k" && ${MACHINE_ARCH} != "vax"
|
|
|
|
MAKE_FLAGS += TK_BUILD_EXP_FILE="libtk85.a" \
|
|
|
|
TK_EXP_FILE="libtk85.a"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
FAKE_FLAGS = INSTALL_DATA_DIR="${INSTALL_DATA_DIR}" \
|
|
|
|
INSTALL_LIBRARY="${INSTALL_DATA}" \
|
|
|
|
INSTALL_DATA="${INSTALL_DATA}" \
|
|
|
|
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
|
|
|
CONFIG_INSTALL_DIR="${WRKINST}${TRUEPREFIX}/lib/tk8.5" \
|
|
|
|
DEMO_INSTALL_DIR="${WRKINST}${TRUEPREFIX}/share/examples/tk8.5"
|
|
|
|
|
|
|
|
REGRESS_FLAGS = HOME=${TESTHOME} \
|
|
|
|
DISPLAY=${DISPLAY} \
|
|
|
|
XAUTHORITY=${XAUTHORITY}
|
|
|
|
|
|
|
|
SEPARATE_BUILD = concurrent
|
|
|
|
USE_X11 = Yes
|
2009-04-24 17:13:13 -04:00
|
|
|
CONFIGURE_STYLE = gnu old
|
2008-10-01 15:48:46 -04:00
|
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
|
|
|
|
--includedir="${PREFIX}/include/tk8.5" \
|
|
|
|
--mandir="${PREFIX}/lib/tk8.5/man" \
|
|
|
|
--sysconfdir="${SYSCONFDIR}" \
|
|
|
|
--enable-man-symlinks \
|
|
|
|
--disable-rpath \
|
|
|
|
--with-tcl="${LOCALBASE}/lib/tcl8.5"
|
|
|
|
|
2009-04-24 17:13:13 -04:00
|
|
|
CONFIGURE_ENV += SHLIB_VERSION="${LIBtk85_VERSION}"
|
2008-10-01 15:48:46 -04:00
|
|
|
|
|
|
|
# This regression test wants an X11 display
|
|
|
|
REGRESS_IS_INTERACTIVE =Yes
|
import tk 8.5
Highlights of Tk 8.5
* New modern theming engine: New and complementary widgets
that make use of platform-specific theming on Mac OS X and
Windows to better fit in with those environments, and
feature an improved look and feel under X11.
* New widgets: Part of the themed widget set, Tk now has
core notebook, combobox, treeview and progressbar widgets.
* text widget: Smooth scrolling, widget peering, and
improved procedures for counting and replacing text.
* Font rendering: Now uses anti-aliased text under X11, and
a more modern text engine (ATSUI) on Mac OS X.
* Additional improvements: Window transparency, new
fullscreen option for windows, enhancements to specific
widgets and window layout, and more.
from Stuart Cassoff (MAINTAINER)
ok steven@
2008-04-25 10:17:25 -04:00
|
|
|
|
2008-10-01 15:48:46 -04:00
|
|
|
FLAVORS = threaded
|
|
|
|
FLAVOR ?=
|
import tk 8.5
Highlights of Tk 8.5
* New modern theming engine: New and complementary widgets
that make use of platform-specific theming on Mac OS X and
Windows to better fit in with those environments, and
feature an improved look and feel under X11.
* New widgets: Part of the themed widget set, Tk now has
core notebook, combobox, treeview and progressbar widgets.
* text widget: Smooth scrolling, widget peering, and
improved procedures for counting and replacing text.
* Font rendering: Now uses anti-aliased text under X11, and
a more modern text engine (ATSUI) on Mac OS X.
* Additional improvements: Window transparency, new
fullscreen option for windows, enhancements to specific
widgets and window layout, and more.
from Stuart Cassoff (MAINTAINER)
ok steven@
2008-04-25 10:17:25 -04:00
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mthreaded}
|
2008-10-01 15:48:46 -04:00
|
|
|
CONFIGURE_ARGS += --enable-threads
|
|
|
|
WANTLIB += pthread
|
2009-04-24 17:13:13 -04:00
|
|
|
LIB_DEPENDS = tcl85:tcl->=$V,<8.5.8-${FLAVOR}:lang/tcl/8.5
|
2009-03-16 20:24:28 -04:00
|
|
|
.else
|
2009-04-24 17:13:13 -04:00
|
|
|
LIB_DEPENDS = tcl85:tcl->=$V,<8.5.8:lang/tcl/8.5
|
import tk 8.5
Highlights of Tk 8.5
* New modern theming engine: New and complementary widgets
that make use of platform-specific theming on Mac OS X and
Windows to better fit in with those environments, and
feature an improved look and feel under X11.
* New widgets: Part of the themed widget set, Tk now has
core notebook, combobox, treeview and progressbar widgets.
* text widget: Smooth scrolling, widget peering, and
improved procedures for counting and replacing text.
* Font rendering: Now uses anti-aliased text under X11, and
a more modern text engine (ATSUI) on Mac OS X.
* Additional improvements: Window transparency, new
fullscreen option for windows, enhancements to specific
widgets and window layout, and more.
from Stuart Cassoff (MAINTAINER)
ok steven@
2008-04-25 10:17:25 -04:00
|
|
|
.endif
|
|
|
|
|
2008-10-01 15:48:46 -04:00
|
|
|
WRKSRC = ${WRKDIST}/unix
|
|
|
|
REGRESS_TARGET = test
|
|
|
|
|
|
|
|
TESTHOME = ${WRKDIR}/testhome
|
import tk 8.5
Highlights of Tk 8.5
* New modern theming engine: New and complementary widgets
that make use of platform-specific theming on Mac OS X and
Windows to better fit in with those environments, and
feature an improved look and feel under X11.
* New widgets: Part of the themed widget set, Tk now has
core notebook, combobox, treeview and progressbar widgets.
* text widget: Smooth scrolling, widget peering, and
improved procedures for counting and replacing text.
* Font rendering: Now uses anti-aliased text under X11, and
a more modern text engine (ATSUI) on Mac OS X.
* Additional improvements: Window transparency, new
fullscreen option for windows, enhancements to specific
widgets and window layout, and more.
from Stuart Cassoff (MAINTAINER)
ok steven@
2008-04-25 10:17:25 -04:00
|
|
|
|
|
|
|
pre-regress:
|
|
|
|
.for t in DISPLAY XAUTHORITY
|
|
|
|
. if !defined($t)
|
|
|
|
@echo "$t needs to be set to run regress"; exit 1
|
|
|
|
. endif
|
|
|
|
.endfor
|
|
|
|
@mkdir -p ${TESTHOME}
|
|
|
|
|
|
|
|
post-install:
|
2008-10-01 15:48:46 -04:00
|
|
|
.if ${MACHINE_ARCH} != "m88k" && ${MACHINE_ARCH} != "vax"
|
|
|
|
ln -s libtk85.a ${PREFIX}/lib/libtk85_pic.a
|
import tk 8.5
Highlights of Tk 8.5
* New modern theming engine: New and complementary widgets
that make use of platform-specific theming on Mac OS X and
Windows to better fit in with those environments, and
feature an improved look and feel under X11.
* New widgets: Part of the themed widget set, Tk now has
core notebook, combobox, treeview and progressbar widgets.
* text widget: Smooth scrolling, widget peering, and
improved procedures for counting and replacing text.
* Font rendering: Now uses anti-aliased text under X11, and
a more modern text engine (ATSUI) on Mac OS X.
* Additional improvements: Window transparency, new
fullscreen option for windows, enhancements to specific
widgets and window layout, and more.
from Stuart Cassoff (MAINTAINER)
ok steven@
2008-04-25 10:17:25 -04:00
|
|
|
ln -s libtkstub85.a ${PREFIX}/lib/libtkstub85_pic.a
|
2008-10-01 15:48:46 -04:00
|
|
|
.endif
|
import tk 8.5
Highlights of Tk 8.5
* New modern theming engine: New and complementary widgets
that make use of platform-specific theming on Mac OS X and
Windows to better fit in with those environments, and
feature an improved look and feel under X11.
* New widgets: Part of the themed widget set, Tk now has
core notebook, combobox, treeview and progressbar widgets.
* text widget: Smooth scrolling, widget peering, and
improved procedures for counting and replacing text.
* Font rendering: Now uses anti-aliased text under X11, and
a more modern text engine (ATSUI) on Mac OS X.
* Additional improvements: Window transparency, new
fullscreen option for windows, enhancements to specific
widgets and window layout, and more.
from Stuart Cassoff (MAINTAINER)
ok steven@
2008-04-25 10:17:25 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|