blob: de9cd02af23560a76798d6b3d8ccac67c2dffbe2 (
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
30
31
32
33
34
|
PORTNAME= viddy
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.4
PORTREVISION= 20
CATEGORIES= sysutils
MASTER_SITES=
MAINTAINER= lcook@FreeBSD.org
COMMENT= Modern watch command
WWW= https://github.com/sachaos/viddy
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
GO_MODULE= github.com/sachaos/${PORTNAME}
GO_BUILDFLAGS= -ldflags "\
-s -w \
-X main.version=${DISTVERSION}"
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README.md
PORTSCOUT= ignore:1 site:none
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|