ports/sysutils/popeye/Makefile
Dag-Erling Smørgrav 75d873b56a many: Unpin Go ports
* Ports that were pinned to a deprecated version of Go (1.23 or older)
  have been unpinned.

* Ports that were pinned to a still-supported version of Go (1.24 or
  newer) have been converted to requesting that as their minimum Go
  version.

* Ports that had been forcibly deprecated for pinning an expired Go
  version have been undeprecated.
2025-12-16 00:06:00 +01:00

33 lines
700 B
Makefile

PORTNAME= popeye
DISTVERSIONPREFIX= v
DISTVERSION= 0.22.1
PORTREVISION= 4
CATEGORIES= sysutils
MAINTAINER= dutra@FreeBSD.org
COMMENT= Kubernetes cluster resource sanitizer
WWW= https://popeye.io/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
NOT_FOR_ARCHS_REASON= Compilation fails due to integer overflow
NOT_FOR_ARCHS= armv7 i386
USES= go:modules
_BUILD_DATE= $$(date -u +"%FT%T%z")
_BUILD_HASH= f736e64
GO_MODULE= github.com/derailed/popeye
GO_BUILDFLAGS= -ldflags "\
-w \
-X ${GO_MODULE}/cmd.version=${DISTVERSION} \
-X ${GO_MODULE}/cmd.commit=${_BUILD_HASH} \
-X ${GO_MODULE}/cmd.date=${_BUILD_DATE}" \
-a -tags netgo
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>