aboutsummaryrefslogtreecommitdiff
path: root/devel/stuffbin/Makefile
blob: 0abb3616c82a0c7d3a5e34df3147df8f7d5fe897 (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
PORTNAME=	stuffbin
DISTVERSIONPREFIX=	v
DISTVERSION=	1.3.0
PORTREVISION=	6
CATEGORIES=	devel

MAINTAINER=	lcook@FreeBSD.org
COMMENT=	Compress and embed static files and assets into Go binaries
WWW=		https://github.com/knadh/stuffbin

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
GO_MODULE=	github.com/knadh/${PORTNAME}
GO_TARGET=	./${PORTNAME}:${PORTNAME}

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

OPTIONS_DEFINE=	DOCS

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

.include <bsd.port.mk>