aboutsummaryrefslogtreecommitdiff
path: root/sysutils/helm-docs/Makefile
blob: 5b538f27ef80e313c819eb348fcc7d39df5e7528 (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
26
27
28
29
30
31
PORTNAME=	helm-docs
DISTVERSIONPREFIX=	v
DISTVERSION=	1.14.2
PORTREVISION=	2
CATEGORIES=	sysutils

MAINTAINER=	owlandrews@protonmail.com
COMMENT=	Automatically generate markdown documentation from helm charts
WWW=		https://github.com/norwoodj/helm-docs

LICENSE=	GPLv3

USES=		go:modules

USE_GITHUB=	yes
GH_ACCOUNT=	norwoodj

GO_MOD_DIST=	github
GO_MODULE=	github.com/norwoodj/helm-docs
GO_TARGET=	./cmd/${PORTNAME}

PLIST_FILES=	bin/${PORTNAME}
PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

do-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>