Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (40 sloc) 1.83 KB
# -*- 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
name 1password-cli
version 0.5.6-003
categories security
license Restrictive/Distributable
maintainers {gmail.com:newtonne.github @newtonne} openmaintainer
platforms darwin
supported_archs x86_64
description Official 1Password command-line tool
long_description View and manage 1password.com users, groups and objects \
from the command-line.
homepage https://support.1password.com/command-line/
set bin_name op
set archive ${bin_name}_darwin_amd64_v
use_zip yes
extract.mkdir yes
master_sites https://cache.agilebits.com/dist/1P/op/pkg/v${version}/
distfiles ${archive}${version}${extract.suffix}
checksums rmd160 1864b47b7251f896bfb69efe93870eb1e9e6d09b \
sha256 44071e7e36636726c2ce35b0538bc492fbb8725249e898f0070b4bf985712884 \
size 3640198
# Pre-built binary
use_configure no
build {}
set share_dir ${prefix}/share/${name}
destroot {
xinstall -m 755 ${worksrcpath}/${bin_name} ${destroot}${prefix}/bin
xinstall -d ${destroot}${share_dir}
xinstall -m 644 ${worksrcpath}/${bin_name}.sig ${destroot}${share_dir}
}
livecheck.type regex
livecheck.url https://app-updates.agilebits.com/product_history/CLI
livecheck.regex ${archive}(\\d+(\\.\\d+)+)${extract.suffix}
# 1Password CLI team requested that this note be displayed
notes "
The GPG sigfile has been installed to ${share_dir}/${bin_name}.sig
For instructions on verifying the binary, see:
https://support.1password.com/command-line-getting-started/#set-up-the-command-line-tool
"
You can’t perform that action at this time.