mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
32 lines
970 B
Tcl
32 lines
970 B
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/atinylittleshell/gsh 1.8.1 v
|
|
go.offline_build no
|
|
revision 0
|
|
|
|
description A modern, POSIX-compatible, generative shell
|
|
|
|
long_description {*}${description}
|
|
|
|
categories shells
|
|
installs_libs no
|
|
license GPL-3
|
|
maintainers {gmail.com:herby.gillot @herbygillot} \
|
|
openmaintainer
|
|
|
|
checksums rmd160 738277fc8e853b09b1f2ee3b973ae04c8a924ed3 \
|
|
sha256 47a1dd4506a24e59862d9dc2862cc091e1bb26e5eada18d4b82aaeb991460dfa \
|
|
size 2127889
|
|
|
|
build.pre_args-append \
|
|
-ldflags \" -X main.BUILD_VERSION=${version} \"
|
|
|
|
build.args ./cmd/${name}
|
|
|
|
destroot {
|
|
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
|
|
}
|