Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= redis_exporter |
4 |
PORTNAME= redis_exporter |
5 |
PORTVERSION= 0.21.2 |
5 |
PORTVERSION= 0.24.0 |
6 |
DISTVERSIONPREFIX=v |
6 |
DISTVERSIONPREFIX=v |
7 |
CATEGORIES= databases |
7 |
CATEGORIES= databases |
8 |
|
8 |
|
Lines 23-28
Link Here
|
23 |
|
23 |
|
24 |
USE_RC_SUBR= redis_exporter |
24 |
USE_RC_SUBR= redis_exporter |
25 |
|
25 |
|
|
|
26 |
|
27 |
BUILD_USER?= ${USER} |
28 |
LD_FLAG_X_PREFIX= -X ${GO_PKGNAME}/vendor/${GO_PKGNAME:H}/common/version |
29 |
LD_FLAG_STRING= -s \ |
30 |
${LD_FLAG_X_PREFIX}.Version=${PORTVERSION} \ |
31 |
${LD_FLAG_X_PREFIX}.Revision=${PORTREVISION} \ |
32 |
${LD_FLAG_X_PREFIX}.Branch=release-${PORTVERSION:R} \ |
33 |
${LD_FLAG_X_PREFIX}.BuildUser=${BUILD_USER} |
34 |
GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}" |
35 |
|
26 |
do-install: |
36 |
do-install: |
27 |
${INSTALL_PROGRAM} ${WRKDIR}/bin/redis_exporter ${STAGEDIR}${PREFIX}/bin |
37 |
${INSTALL_PROGRAM} ${WRKDIR}/bin/redis_exporter ${STAGEDIR}${PREFIX}/bin |
28 |
|
38 |
|