PORTNAME= athens DISTVERSION= 0.15.4 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= devel MAINTAINER= bofh@FreeBSD.org COMMENT= Proxy server for the Go Modules download API WWW= https://github.com/gomods/athens LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules BUILD_DATE= 2024-11-04-00:00:00-UTC GO_MODULE= github.com/gomods/${PORTNAME} GO_TARGET= ./cmd/proxy GO_BUILDFLAGS= -ldflags " \ -X github.com/gomods/${PORTNAME}/pkg/build.version=${DISTVERSION} \ -X github.com/gomods/${PORTNAME}/pkg/build.buildDate=${BUILD_DATE}" PLIST_FILES= bin/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKDIR}/bin/proxy ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include