Skip to content

Commit

Permalink
infisical: new submission
Browse files Browse the repository at this point in the history
  • Loading branch information
esafak committed Aug 15, 2024
1 parent 55fd1fd commit 8b94268
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions devel/infisical/Portfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# -*- 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

Check warning on line 1 in devel/infisical/Portfile

View workflow job for this annotation

GitHub Actions / macos-12

port lint infisical: Warning: Line 52 has missing newline (at end of file) Error: Missing required variable: long_description Error: Using openmaintainer without any other maintainer

Check warning on line 1 in devel/infisical/Portfile

View workflow job for this annotation

GitHub Actions / macos-14

port lint infisical: Warning: Line 52 has missing newline (at end of file) Error: Missing required variable: long_description Error: Using openmaintainer without any other maintainer

Check warning on line 1 in devel/infisical/Portfile

View workflow job for this annotation

GitHub Actions / macos-13

port lint infisical: Warning: Line 52 has missing newline (at end of file) Error: Missing required variable: long_description Error: Using openmaintainer without any other maintainer

PortSystem 1.0
PortGroup github 1.0

github.setup infisical infisical 0.28.4 infisical-cli/v
github.tarball_from releases
revision 0

categories devel
maintainers openmaintainer
license MIT

description Official CLI for Infisical, an open source secrets platform
homepage https://infisical.com/

extract.mkdir yes
use_configure no
build {}

supported_archs arm64 x86_64
set arch ${build_arch}

if {${build_arch} eq "x86_64"} {
set arch "amd64"
}

distfiles infisical_${version}_darwin_${arch}.tar.gz
checksums infisical_${version}_darwin_amd64.tar.gz \
rmd160 069e4ee96660b3ad192ada2ba4b7a9f06d8d2ec8 \
sha256 0ff208aebd7410bae29f1bd99642c3d0cad021c3f1c58c2fe2479d1926ae8e2b \
size 15532412 \
infisical_${version}_darwin_arm64.tar.gz \
rmd160 96202ac993e8802788065fd714a3e08dc97ac3ab \
sha256 49320ab75b80d2975093492094469a08f250b1c780a6154ce0da269cf6bef83c \
size 14869954

destroot {
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/

# Shell completion
xinstall -d ${destroot}${prefix}/etc/bash_completion.d
xinstall -d ${destroot}${prefix}/share/zsh/site-functions
xinstall -d ${destroot}${prefix}/share/fish/vendor_completions.d
system "${destroot}${prefix}/bin/${name} completion bash > ${destroot}${prefix}/etc/bash_completion.d/${name}"
system "${destroot}${prefix}/bin/${name} completion fish > ${destroot}${prefix}/share/fish/vendor_completions.d/${name}.fish"
system "${destroot}${prefix}/bin/${name} completion zsh > ${destroot}${prefix}/share/zsh/site-functions/_${name}"
}

test.run yes
test.cmd ${prefix}/bin/infisical
test.target --version

0 comments on commit 8b94268

Please sign in to comment.