# -*- 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/xo/usql 0.16.1 v go.offline_build no github.tarball_from archive revision 1 description Universal command-line interface for SQL databases long_description \ ${name} is a universal command-line interface for PostgreSQL, MySQL, \ Oracle Database, SQLite3, Microsoft SQL Server, and many other databases \ including NoSQL and non-relational databases. ${name} provides a simple \ way to work with SQL and NoSQL databases via a command-line inspired by \ PostgreSQL's psql. ${name} supports most of the core psql features, such \ as variables, backticks, and commands and has additional features that \ psql does not, such as syntax highlighting, context-based completion, \ and multiple database support. categories databases installs_libs no license MIT maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer checksums rmd160 c9dbfb97d742ba474820cf21ee916030188f15c7 \ sha256 b838fd3e613d9809bfc568075b0bb6c4c752bc34869f5e9751b66dfc744c7878 \ size 273956 depends_build-append \ port:realpath depends_lib-append path:lib/pkgconfig/icu-uc.pc:icu build.cmd ./build.sh build.args -N -v ${github.tag_prefix}${version} patch { reinplace -E {/^[[:space:]]*TAR=gtar/ d} ${worksrcpath}/build.sh reinplace -E {/^[[:space:]]*sha256sum/ d} ${worksrcpath}/build.sh } destroot { xinstall -m 0755 \ [glob ${worksrcpath}/build/${goos}/*/*/${name}] \ ${destroot}${prefix}/bin/ }