aboutsummaryrefslogtreecommitdiff
path: root/www/jira-cli/Makefile
blob: efc47e58e0058de820ff5901cea80428fc744cec (plain) (blame)
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=	5
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>