summaryrefslogtreecommitdiff
path: root/devel/lab/Makefile
blob: 42610d598236439077eaf24e1fa0a3b9ed2c3fe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PORTNAME=	lab
PORTVERSION=	${MODVERSION:S/-/./g:R}
DISTVERSIONPREFIX=	v
PORTREVISION=	10
CATEGORIES=	devel

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Lab makes it simple to work with repositories on GitLab
WWW=		https://zaquestion.github.io/lab

LICENSE=	UNLICENSE
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	git:devel/git

USES=		go:modules
MODVERSION=	0.25.2-0.20230225220034-98c3f01c08e1
GO_MODULE=	github.com/zaquestion/lab@v${MODVERSION}
GO_BUILDFLAGS=	-ldflags="-X main.version=${PORTVERSION}"
PLIST_FILES=	bin/lab

.include <bsd.port.mk>