1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/sysutils/duf/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

42 lines
1.2 KiB
Makefile

PORTNAME= duf
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.2
CATEGORIES= sysutils
MAINTAINER= lcook@FreeBSD.org
COMMENT= Disk Usage/Free Utility
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= muesli
GH_TUPLE= golang:crypto:5c72a883971a:golang_crypto/vendor/golang.org/x/crypto \
golang:sys:af09f7315aff:golang_sys/vendor/golang.org/x/sys \
jedib0t:go-pretty:v6.0.5:jedib0t_go_pretty_v6/vendor/github.com/jedib0t/go-pretty/v6 \
lucasb-eyer:go-colorful:v1.2.0:lucasb_eyer_go_colorful/vendor/github.com/lucasb-eyer/go-colorful \
mattn:go-isatty:v0.0.12:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
mattn:go-runewidth:v0.0.10:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
muesli:termenv:v0.8.1:muesli_termenv/vendor/github.com/muesli/termenv \
rivo:uniseg:v0.1.0:rivo_uniseg/vendor/github.com/rivo/uniseg
_BUILD_VERSION= ${DISTVERSION}
_BUILD_SHA= d1d2865
GO_BUILDFLAGS= -ldflags "\
-s -w \
-X main.Version=${_BUILD_VERSION} \
-X main.CommitSHA=${_BUILD_SHA}"
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>