summaryrefslogtreecommitdiff
path: root/devel/packr/Makefile
blob: 3725d9588b7b16d0c3cd900c1d8973857a412260 (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
26
27
28
29
PORTNAME=	packr
DISTVERSIONPREFIX=	v
DISTVERSION=	2.8.3
PORTREVISION=	20
CATEGORIES=	devel

MAINTAINER=	dmgk@FreeBSD.org
COMMENT=	Simple and easy way to embed static files into Go binaries
WWW=		https://github.com/gobuffalo/packr

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

USES=		go:modules

GO_MODULE=	github.com/gobuffalo/packr/v2
GO_TARGET=	./packr2

PLIST_FILES=	bin/packr2

PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>