1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/sysutils/viddy/Makefile
2022-03-30 03:01:44 -04:00

34 lines
595 B
Makefile

PORTNAME= viddy
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.4
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES=
MAINTAINER= lcook@FreeBSD.org
COMMENT= Modern watch command
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>