Files

29 lines
989 B
Tcl

# -*- 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
PortSystem 1.0
PortGroup R 1.0
R.setup cran cran tkrplot 0.0-27
revision 1
categories-append graphics
maintainers nomaintainer
license {GPL-2 GPL-3}
description Simple mechanism for placing R graphics in a Tk widget
long_description {*}${description}
checksums rmd160 6487d3279b05a0a36085ce7455f669285d17dc0b \
sha256 c99211919414400b0f579e1354407f2e154cfe85533d324bcf9c68172c2772a5 \
size 33104
depends_lib-append port:xorg-libX11
pre-fetch {
if {![catch {set result [active_variants R "tcltk"]}]} {
if !{$result} {
ui_msg "Error: to install ${name}, R should be installed with +tcltk variant."
return -code error "Required variant missing."
}
}
}
test.run yes