ports/sysutils/cloud-sql-proxy/Makefile

28 lines
744 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
COMMENT= GCP Cloud SQL Auth proxy
2023-08-18 18:38:43 +00:00
VERSION= 2.6.1
2023-08-16 22:26:55 +00:00
PKGNAME= cloud-sql-proxy-${VERSION}
# cloud-sql-proxy-vendored distfile generated by fetching archive from
# https://github.com/GoogleCloudPlatform/cloud-sql-proxy/archive/v$VERSION/cloud-sql-proxy-$VERSION.tar.gz
# and running "go mod tidy" + "go mod vendor"
DISTNAME= cloud-sql-proxy-vendored-${VERSION}
MASTER_SITES= https://distfiles.bsdfrog.org/
ALL_TARGET= github.com/GoogleCloudPlatform/cloud-sql-proxy
CATEGORIES= sysutils databases net
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# Apache-2.0
PERMIT_PACKAGE= Yes
WANTLIB += c pthread
MODULES= lang/go
# .build/gcs_upload.yaml
MODGO_LDFLAGS += -X main.metadataString=openbsd.${_GOARCH}
.include <bsd.port.mk>