Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplotask: new port #19132

Merged
merged 1 commit into from
Jun 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions sysutils/simplotask/Portfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- 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.8.1 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://simplotask.com

build.cmd make
build.pre_args-append \
REV=v${version}
build.args build

checksums rmd160 5c6a5f657ee05a45c80395e571dc216371135b11 \
sha256 135b97bfa837f5da30c79b1eda93f8e1f6ed9e0c2a847ccab73d6535ca5ece10 \
size 32388760

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/
}