summaryrefslogtreecommitdiff
path: root/www/jira-cli/Makefile
blob: ad92bfde55489b95d4e6cabbd5f1411a262ca988 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
PORTNAME=	jira-cli
DISTVERSIONPREFIX=	v
DISTVERSION=	1.5.1
PORTREVISION=	3
CATEGORIES=	www
DIST_SUBDIR=	jira-cli

MAINTAINER=	fox@FreeBSD.org
COMMENT=	Feature-rich Interactive Jira Command Line
WWW=		https://github.com/ankitpokhrel/jira-cli

LICENSE=	MIT

USES=		go:modules

GO_MODULE=	github.com/ankitpokhrel/jira-cli
GO_BUILDFLAGS=	-ldflags="-X github.com/ankitpokhrel/jira-cli/internal/version.Version=v${PORTVERSION} \
		-X github.com/ankitpokhrel/jira-cli/internal/version.BuildDate=$$(date +'%Y-%m-%dT%H:%M:%S%Z') \
		-X github.com/ankitpokhrel/jira-cli/internal/version.GitCommit= "
GO_TARGET=	./cmd/jira

post-install:
	${STAGEDIR}${PREFIX}/bin/jira man -g -o ${STAGEDIR}${PREFIX}/share/man/man7

.include <bsd.port.mk>