opnsense-ports/databases/usql/Makefile
Franco Fichtner e75280838c */*: sync with upstream
Taken from: HardenedBSD
2019-06-29 05:57:10 +02:00

51 lines
1.9 KiB
Makefile

# $FreeBSD$
PORTNAME= usql
DISTVERSIONPREFIX= v
DISTVERSION= 0.7.4
CATEGORIES= databases
MAINTAINER= yuri@FreeBSD.org
COMMENT= Universal command-line interface for SQL databases
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go
USE_GITHUB= yes
GH_ACCOUNT= xo
GH_TUPLE= xo:dburl:98997a0:dburl/src/github.com/xo/dburl \
xo:terminfo:1a4775e:terminfo/src/github.com/xo/terminfo \
xo:tblfmt:e2122a1:tblfmt/src/github.com/xo/tblfmt \
xo:xoutil:46189f4:xoutil/src/github.com/xo/xoutil \
alecthomas:chroma:v0.3.0:chroma/src/github.com/alecthomas/chroma \
alecthomas:kingpin:v2.2.6:kingpin/src/github.com/alecthomas/kingpin \
alecthomas:template:a0175ee:template/src/github.com/alecthomas/template \
alecthomas:units:2efee85:units/src/github.com/alecthomas/units \
alexflint:go-arg:0cc8e30:goarg/src/github.com/alexflint/go-arg \
danwakefield:fnmatch:cbb64ac:fnmatch/src/github.com/danwakefield/fnmatch \
denisenkom:go-mssqldb:ee49270:gomssqldb/src/github.com/denisenkom/go-mssqldb \
dlclark:regexp2:v1.1.6:regexp2/src/github.com/dlclark/regexp2 \
go-sql-driver:mysql:v1.3:mysql/src/github.com/go-sql-driver/mysql \
gohxs:readline:a780388:readline/src/github.com/gohxs/readline \
lib:pq:88edab0:pq/src/github.com/lib/pq \
mattn:go-isatty:v0.0.3:goisatty/src/github.com/mattn/go-isatty \
mattn:go-runewidth:v0.0.2:gorunewidth/src/github.com/mattn/go-runewidth \
mattn:go-sqlite3:v1.6.0:gosqlite3/src/github.com/mattn/go-sqlite3 \
olekukonko:tablewriter:b8a9be0:tablewriter/src/github.com/olekukonko/tablewriter \
zaf:temp:94e3859:temp/src/github.com/zaf/temp \
golang:crypto:650f4a3:crypto/src/golang.org/x/crypto
GH_SUBDIR= src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}
PLIST_FILES= bin/usql
do-build:
@cd ${WRKSRC}/${GH_SUBDIR} && \
${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${GH_SUBDIR}/usql ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>