summaryrefslogtreecommitdiff
path: root/textproc/termshot/Makefile
blob: d11fa80e55c9dd899933faf45ac4f13ce749fce3 (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
PORTNAME=	termshot
DISTVERSIONPREFIX=	v
DISTVERSION=	0.2.7
PORTREVISION=	7
CATEGORIES=	textproc graphics

MAINTAINER=	lbartoletti@FreeBSD.org
COMMENT=	Creates screenshots based on terminal command output
WWW=		https://github.com/homeport/termshot

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
GO_MODULE=	github.com/homeport/termshot
GO_TARGET=	./cmd/${PORTNAME}
GO_BUILDFLAGS=	-tags noupdater \
		-ldflags "\
		-s -w \
		-X ${GO_MODULE}/internal/cmd.version=${DISTVERSION}"

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>