# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortGroup active_variants 1.1
description A table/matrix widget extension to Tk/Tcl
long_description ${description}
homepage http://tktable.sourceforge.net/
# TkTable 2.11 was never posted to SourceForge.
# A copy of the TkTable repository, owned by a Tcl/Tk developer,
# is available for users to obtain 2.11 from.
master_sites https://chiselapp.com/user/pooryorick/repository/tktable/tarball/4018de567f/
distname unnamed-4018de567f
checksums rmd160 2332e79467b15c5b9855dd12ad6f21328017fa2b \
sha256 7c9c06338c2cb7e414f23650e4122093b540c60c672dc4f440a12588e1b3a1d5 \
# ensure correct libraries are found during testing
# see https://trac.macports.org/ticket/38238
patchfiles-append patch-dyld_variable.diff \
configure.args --with-tcl=${prefix}/lib \
--with-tk=${prefix}/lib \
CPPFLAGS=-I${prefix}/include \
CFLAGS=-I${prefix}/include \
variant quartz conflicts x11 {
require_active_variants tk quartz
variant x11 conflicts quartz {
require_active_variants tk x11
if {![variant_isset quartz]} {