-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathPortfile
More file actions
57 lines (44 loc) · 1.99 KB
/
Copy pathPortfile
File metadata and controls
57 lines (44 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# -*- 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/go-task/task 3.52.0 v
go.offline_build no
go.toolchain_min 1.25.10
name go-task
revision 0
homepage https://taskfile.dev
description A task runner / simpler Make alternative written in Go
long_description Task is a task runner / build tool that aims to be simpler \
and easier to use than, for example, GNU Make.
conflicts task
categories devel
installs_libs no
license MIT
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
checksums rmd160 18d3c86366404e1d653a4ac43a5855707f157e87 \
sha256 54833f32465c45d222867cc89c6bc138d07c63d2b43f0512e2cdb4b2164ad87e \
size 604188 \
build.env-append CGO_ENABLED=0
build.args -o ${worksrcpath}/task \
-ldflags \" \
-s \
-w \
-X ${go.package}/internal/version.version=${version} \
\" \
./cmd/task
destroot {
xinstall -m 0755 ${worksrcpath}/task ${destroot}${prefix}/bin/
# Install bash completion
xinstall -d ${destroot}${prefix}/share/bash-completion/completions
xinstall ${worksrcpath}/completion/bash/task.bash \
${destroot}${prefix}/share/bash-completion/completions/task
# Install fish completion
xinstall -d ${destroot}${prefix}/share/fish/vendor_completions.d
xinstall ${worksrcpath}/completion/fish/task.fish \
${destroot}${prefix}/share/fish/vendor_completions.d/
# Install zsh completion
xinstall -d ${destroot}${prefix}/share/zsh/site-functions
xinstall ${worksrcpath}/completion/zsh/_task \
${destroot}${prefix}/share/zsh/site-functions/
}