Files
ports/sysutils/gomplate/Makefile
T
2026-05-09 13:25:51 -04:00

25 lines
559 B
Makefile

PORTNAME= gomplate
DISTVERSIONPREFIX= v
DISTVERSION= 5.1.0
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Command-line tool for rendering templates before executing binaries
WWW= https://github.com/hairyhenderson/gomplate
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
GO_MODULE= github.com/hairyhenderson/gomplate/v5
GO_TARGET= ./cmd/gomplate
GO_BUILDFLAGS= -ldflags "\
-w -s \
-X github.com/hairyhenderson/gomplate/v5/version.Version=${DISTVERSION}"
PLIST_FILES= bin/gomplate
.include <bsd.port.mk>