mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
31 lines
643 B
Makefile
31 lines
643 B
Makefile
COMMENT = command-line tool for controlling Docker
|
|
|
|
V = 28.5.1
|
|
DIST_TUPLE = github docker cli v${V} .
|
|
PKGNAME = docker-${DISTNAME}
|
|
|
|
CATEGORIES = sysutils
|
|
|
|
HOMEPAGE = https://docs.docker.com/engine/reference/commandline/cli/
|
|
|
|
MAINTAINER = Kirill A. Korinsky <kirill@korins.ky>
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += c pthread
|
|
|
|
MODULES = lang/go
|
|
GO_PKGNAME = github.com/docker/cli
|
|
MODGO_LDFLAGS = -X ${GO_PKGNAME}/cli/version.Version=${V}
|
|
|
|
RUN_DEPENDS = sysutils/docker-buildx
|
|
|
|
WRKSRC = ${MODGO_WORKSPACE}/src/${GO_PKGNAME}
|
|
ALL_TARGET = ${GO_PKGNAME}/cmd/docker
|
|
|
|
# for tests
|
|
PORTHOME = ${WRKDIR}
|
|
|
|
.include <bsd.port.mk>
|