aboutsummaryrefslogtreecommitdiff
path: root/devel/lab/Makefile
blob: 2bc38a568660b5e22524a86758cd4de9969c3f83 (plain) (blame)
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}
PORTREVISION=	6
DISTVERSIONPREFIX=	v
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>