mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
32 lines
610 B
Makefile
32 lines
610 B
Makefile
COMMENT = GitLab CLI tool
|
|
|
|
V = 1.82.0
|
|
MODGO_MODNAME = gitlab.com/gitlab-org/cli
|
|
MODGO_VERSION = v${V}
|
|
|
|
DISTNAME = cli-${MODGO_VERSION}
|
|
PKGNAME = gitlab-cli-${V}
|
|
|
|
CATEGORIES = sysutils
|
|
HOMEPAGE = https://docs.gitlab.com/ee/integration/glab/
|
|
|
|
MAINTAINER = Klemens Nanni <kn@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB = c pthread
|
|
|
|
MODULES = lang/go
|
|
BUILD_DEPENDS = lang/go>=1.24.2
|
|
MODGO_LDFLAGS = -X main.version=${V}
|
|
|
|
TEST_TARGET = ./...
|
|
|
|
post-install:
|
|
${WRKDIR}/go/bin/gen-docs --path ${PREFIX}/man/man1 --manpage
|
|
rm ${PREFIX}/bin/gen-docs
|
|
|
|
.include "modules.inc"
|
|
.include <bsd.port.mk>
|