summaryrefslogtreecommitdiff
path: root/databases/pgmetrics/Makefile
blob: 7912e878738bce1394fe4980f5fb42f3a97890f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PORTNAME=	pgmetrics
PORTVERSION=	1.16.0
DISTVERSIONPREFIX=v
PORTREVISION=	5
CATEGORIES=	databases

MAINTAINER=	girgen@FreeBSD.org
COMMENT=	Collect and display info & stats from a running PostgreSQL server
WWW=		https://pgmetrics.io/

LICENSE=	APACHE20

USES=		go:modules

GO_MODULE=	github.com/rapidloop/pgmetrics
#USE_GITHUB=	yes

#GH_ACCOUNT=	rapidloop
#GH_TUPLE=	\
		aws:aws-sdk-go:v1.29.29:aws_aws_sdk_go/vendor/github.com/aws/aws-sdk-go \
		dustin:go-humanize:bb3d318650d4:dustin_go_humanize/vendor/github.com/dustin/go-humanize \
		golang:crypto:e9b2fee46413:golang_crypto/vendor/golang.org/x/crypto \
		golang:sys:97732733099d:golang_sys/vendor/golang.org/x/sys \
		golang:text:v0.3.0:golang_text/vendor/golang.org/x/text \
		howeyc:gopass:bf9dde6d0d2c:howeyc_gopass/vendor/github.com/howeyc/gopass \
		jmespath:go-jmespath:c2b33e8439af:jmespath_go_jmespath/vendor/github.com/jmespath/go-jmespath \
		pborman:getopt:7148bc3a4c30:pborman_getopt/vendor/github.com/pborman/getopt \
		rapidloop:pq:66681b501d6d:rapidloop_pq/vendor/github.com/rapidloop/pq \
		xdg-go:stringprep:v1.0.0:xdg_go_stringprep/vendor/github.com/xdg-go/stringprep

GO_TARGET=	./cmd/${PORTNAME}
GO_BUILDFLAGS=	-ldflags="-s -w -X main.version=${PORTVERSION}"
CGO_ENABLED=	0

.include <bsd.port.mk>