Files

65 lines
2.0 KiB
Tcl
Raw Permalink Normal View History

2021-04-17 10:40:02 -04: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 golang 1.0
2026-03-21 12:45:00 -04:00
go.setup github.com/moul/assh 2.17.1 v
2021-04-17 10:40:02 -04:00
go.package moul.io/assh/v2
2023-10-03 11:11:40 -04:00
go.offline_build no
2021-10-16 03:20:44 -04:00
revision 0
2021-04-17 10:40:02 -04:00
2026-02-13 21:39:05 +01:00
homepage https://v1.manfred.life/assh-intro
2021-04-17 10:40:02 -04:00
description Make your ssh client smarter
long_description {*}${description}. ${name} is a transparent wrapper that \
adds support for regex, aliases, gateways, dynamic \
hostnames, graphviz, json output, yaml configuration, and \
more to SSH.
categories sysutils net
2021-10-16 03:20:44 -04:00
installs_libs no
2022-01-05 13:58:47 -05:00
license MIT
2021-04-17 10:40:02 -04:00
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
2021-10-16 03:20:44 -04:00
2026-03-21 12:45:00 -04:00
checksums rmd160 6a97b79415a289675c5fa297c3e1c830ac87ebcb \
sha256 9571e3424dcfa5d52e32f3f7dd19995e3d1f30c9d80420e77d47681d4a201744 \
size 363320
2021-04-17 10:40:02 -04:00
2023-10-03 11:11:40 -04:00
build.cmd \
"make generate && \
${build.cmd} \
-v \
-ldflags=\"-X moul.io/assh/v2/pkg/version.Version=${version}\""
build.pre_args
build.args
2021-10-16 03:20:44 -04:00
build.jobs 0
2021-04-17 10:40:02 -04:00
2021-10-16 03:20:44 -04:00
set assh_examples_dir ${prefix}/share/${name}/examples
2021-04-17 10:40:02 -04:00
destroot {
2021-10-16 03:20:44 -04:00
2021-04-17 10:40:02 -04:00
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
2021-10-16 03:20:44 -04:00
xinstall -d ${destroot}${assh_examples_dir}
file copy {*}[glob ${worksrcpath}/examples/*] \
${destroot}${assh_examples_dir}
2023-10-03 11:11:40 -04:00
# Shell completions
xinstall -d ${destroot}${prefix}/share/bash-completion/completions
xinstall ${worksrcpath}/contrib/completion/bash_autocomplete \
${destroot}${prefix}/share/bash-completion/completions/${name}
xinstall -d ${destroot}${prefix}/share/zsh/site-functions
xinstall ${worksrcpath}/contrib/completion/zsh_autocomplete \
${destroot}${prefix}/share/zsh/site-functions/_${name}
2021-04-17 10:40:02 -04:00
}
2021-10-16 03:20:44 -04:00
notes "
Example configuration can be found in:
${assh_examples_dir}
2021-10-16 03:20:44 -04:00
"