Files
ports/net/gitlab-agent/Makefile
T
Matthias Fechner 6f42026999 net/gitlab-agent: update to 14.10.0
Required for gitlab-ce 14.10.

MFH:		2022Q2
2022-04-22 10:44:07 +02:00

34 lines
841 B
Makefile

# Created by: Matthias Fechner <mfechner@FreeBSD.org>
PORTNAME= gitlab-agent
PORTVERSION= 14.10.0
PORTREVISION= 0
DISTVERSIONPREFIX= v
CATEGORIES= net
MAINTAINER= mfechner@FreeBSD.org
COMMENT= GitLab kubernetes agent
LICENSE= MIT
# bazel>=0:devel/bazel \
BUILD_DEPENDS= git>=0:devel/git \
golangci-lint>=0:devel/golangci-lint
USES= go:modules
GO_MODULE= gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v14
GO_BUILDFLAGS= -tags="tracer_static,tracer_static_jaeger" \
-ldflags=" \
-X gitlab.com/gitlab-org/cluster-integration/gitlab-agent/cmd.Version=v${PORTVERSION} \
-X gitlab.com/gitlab-org/cluster-integration/gitlab-agent/cmd.Commit=${GL_COMMIT:C/^(........).*/\1/}"
GO_TARGET= ./cmd/kas
PLIST_FILES= bin/kas
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/bin/kas ${STAGEDIR}${PREFIX}/bin/kas
.include <bsd.port.mk>