# -*- 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/nalgeon/sqlpkg-cli 0.2.3
go.package          sqlpkg.org/cli
revision            0

homepage            https://sqlpkg.org/

description         SQLite Package Manager

long_description    \
    ${name} manages SQLite extensions, just like pip does with Python \
    packages or brew does with macOS programs. It works primarily with the \
    SQLite package registry, but is not limited to it. You can install SQLite \
    extensions from GitHub repositories or other websites. All you need is a \
    package spec file \(more on that later\).

categories          devel databases
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  546ca0c97a32b66b130e6c5bd5e0cf4c3aa57e4d \
                    sha256  515224f43cb4e6217e85007038271e92edf278d875dc336fd4a0bbe035170225 \
                    size    44323

build.args-append   -ldflags \"-X main.version=${version}\" -o sqlpkg

destroot {
    xinstall -m 0755 ${worksrcpath}/sqlpkg ${destroot}${prefix}/bin/
}
