You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
34 lines
987 B
Tcl
34 lines
987 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/sqlc-dev/sqlc 1.30.0 v
|
|
go.offline_build no
|
|
revision 0
|
|
|
|
homepage https://sqlc.dev/
|
|
|
|
description Generate type-safe Golang code from SQL
|
|
long_description {*}${description}
|
|
|
|
categories devel databases
|
|
installs_libs no
|
|
license MIT
|
|
maintainers {gmail.com:herby.gillot @herbygillot} \
|
|
openmaintainer
|
|
|
|
checksums rmd160 261a61b160d3ded13b300915f3c6a22ca79a3bac \
|
|
sha256 32a8ff2acd852c4a004383b441e6614b6c57ce1a294c0e455ab7431f017aa895 \
|
|
size 1035958
|
|
|
|
build.args-append -o bin ./cmd/...
|
|
|
|
pre-build {
|
|
file mkdir ${worksrcpath}/bin
|
|
}
|
|
|
|
destroot {
|
|
xinstall -m 0755 {*}[glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin/
|
|
}
|