2022-04-25 17:38:38 +09:00
|
|
|
# -*- 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 select 1.0
|
|
|
|
|
PortGroup github 1.0
|
|
|
|
|
|
2026-04-30 14:53:08 +09:00
|
|
|
github.setup tfutils tfenv 3.2.2 v
|
2026-04-25 10:18:33 +09:00
|
|
|
github.tarball_from archive
|
2022-04-25 17:38:38 +09:00
|
|
|
license MIT
|
|
|
|
|
categories sysutils
|
2022-12-14 22:40:47 +11:00
|
|
|
platforms any
|
2022-04-25 17:38:38 +09:00
|
|
|
supported_archs noarch
|
|
|
|
|
|
|
|
|
|
maintainers {amake @amake} openmaintainer
|
|
|
|
|
|
|
|
|
|
description Terraform version manager
|
2022-12-14 22:40:47 +11:00
|
|
|
long_description {*}${description}
|
2022-04-25 17:38:38 +09:00
|
|
|
|
2026-04-30 14:53:08 +09:00
|
|
|
checksums rmd160 b170dbfbf6465c0a2be23b6901a515059369d344 \
|
|
|
|
|
sha256 c9c8b2e2588cf026aafa9803dfdefdfc7aa258577c24ea9624fe53f764edea47 \
|
|
|
|
|
size 80290
|
2022-04-25 17:38:38 +09:00
|
|
|
|
|
|
|
|
depends_run port:terraform_select
|
|
|
|
|
|
|
|
|
|
use_configure no
|
|
|
|
|
|
|
|
|
|
select.group terraform
|
|
|
|
|
select.file ${filespath}/${name}
|
|
|
|
|
|
|
|
|
|
build {}
|
|
|
|
|
|
|
|
|
|
destroot {
|
|
|
|
|
xinstall -d ${destroot}${prefix}/share/${name}
|
|
|
|
|
copy {*}[glob ${worksrcpath}/*] ${destroot}${prefix}/share/${name}
|
|
|
|
|
ln -s ../share/${name}/bin/${name} ${destroot}${prefix}/bin/${name}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
notes "
|
|
|
|
|
Set the following environment variables before running `${name} install`:
|
|
|
|
|
TFENV_ARCH=${os.arch}
|
|
|
|
|
TFENV_CONFIG_DIR=~/.tfenv
|
|
|
|
|
|
|
|
|
|
To make the tfenv-managed terraform the default, run:
|
|
|
|
|
sudo port select --set terraform ${name}
|
|
|
|
|
"
|