# -*- 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
maintainers {landonf @landonf} openmaintainer
description common files for selecting default fstar version
fstar_select installs files that allow 'port select' to switch the \
default F* compiler. It creates unsuffixed symlinks in the \
MacPorts prefix that point to the selected version.
homepage https://fstar-lang.org
description common files for selecting default kremlin version
kremlin_select installs files that allow 'port select' to switch the \
default KreMLin compiler. It creates unsuffixed symlinks in the \
MacPorts prefix that point to the selected version.
file mkdir ${worksrcpath}
copy -- ${filespath}/base.in \
foreach {fstar_key fstar_var} {
@FSTAR_PROJECT@ fstar.project
reinplace "s|${fstar_key}|[set ${fstar_var}]|g" \
select::install ${fstar.project} ${worksrcpath}/base
select::install ${fstar.project} ${filespath}/none