You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
51 lines
2.1 KiB
Tcl
51 lines
2.1 KiB
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 golang 1.0
|
|
|
|
go.setup github.com/umputun/spot 1.20.0 v
|
|
name simplotask
|
|
revision 0
|
|
categories sysutils
|
|
maintainers {@sikmir disroot.org:sikmir} openmaintainer
|
|
license MIT
|
|
|
|
description A tool for effortless deployment and configuration management
|
|
long_description {*}${description}
|
|
homepage https://spot.umputun.dev/
|
|
|
|
build.cmd make
|
|
build.pre_args-append \
|
|
REV=v${version}
|
|
build.args build
|
|
|
|
checksums rmd160 d66f0d2beef519eb4379511dd1cf3cc82f42c7b6 \
|
|
sha256 7a989e7220c6c7e66f2032304c3cd2d53256c15be669989036edb610025c719e \
|
|
size 54769263
|
|
|
|
destroot {
|
|
xinstall -m 0755 ${worksrcpath}/.bin/spot ${destroot}${prefix}/bin
|
|
xinstall -m 0755 ${worksrcpath}/.bin/spot-secrets ${destroot}${prefix}/bin
|
|
|
|
xinstall -d ${destroot}${prefix}/share/man/man1
|
|
xinstall -m 0644 ${worksrcpath}/spot.1 \
|
|
${destroot}${prefix}/share/man/man1/
|
|
|
|
set src_completion_dir ${worksrcpath}/completions
|
|
|
|
set bash_completion_dir ${destroot}${prefix}/etc/bash_completion.d
|
|
xinstall -d ${bash_completion_dir}
|
|
xinstall -m 644 ${src_completion_dir}/spot.bash ${bash_completion_dir}/spot
|
|
xinstall -m 644 ${src_completion_dir}/spot-secrets.bash ${bash_completion_dir}/spot-secrets
|
|
|
|
set fish_completion_dir ${destroot}${prefix}/share/fish/vendor_completions.d
|
|
xinstall -d ${fish_completion_dir}
|
|
xinstall -m 644 ${src_completion_dir}/spot.fish ${fish_completion_dir}/
|
|
xinstall -m 644 ${src_completion_dir}/spot-secrets.fish ${fish_completion_dir}/
|
|
|
|
set zsh_completion_dir ${destroot}${prefix}/share/zsh/site-functions
|
|
xinstall -d ${zsh_completion_dir}
|
|
xinstall -m 644 ${src_completion_dir}/spot.zsh ${zsh_completion_dir}/_spot
|
|
xinstall -m 644 ${src_completion_dir}/spot-secrets.zsh ${zsh_completion_dir}/_spot-secrets
|
|
}
|