|
Lines 2-10
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= unbound_exporter |
4 |
PORTNAME= unbound_exporter |
| 5 |
PORTVERSION= 0.1 |
|
|
| 6 |
PORTREVISION= 1 |
| 7 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSIONPREFIX= v |
|
|
6 |
DISTVERSION= 0.1-20 |
| 7 |
DISTVERSIONSUFFIX= -gb7e842d |
| 8 |
CATEGORIES= net-mgmt |
8 |
CATEGORIES= net-mgmt |
| 9 |
|
9 |
|
| 10 |
MAINTAINER= aduitsis@cpan.org |
10 |
MAINTAINER= aduitsis@cpan.org |
|
Lines 15-27
Link Here
|
| 15 |
USES= go |
15 |
USES= go |
| 16 |
GH_ACCOUNT= kumina |
16 |
GH_ACCOUNT= kumina |
| 17 |
USE_GITHUB= yes |
17 |
USE_GITHUB= yes |
| 18 |
GH_TUPLE= prometheus:client_golang:08fd2e1:client_golang \ |
18 |
GH_TUPLE= prometheus:client_golang:08fd2e1:client_golang/vendor/github.com/prometheus/client_golang \ |
| 19 |
prometheus:client_model:6f38060:client_model \ |
19 |
prometheus:client_model:6f38060:client_model/vendor/github.com/prometheus/client_model \ |
| 20 |
prometheus:common:49fee29:common \ |
20 |
prometheus:common:49fee29:common/vendor/github.com/prometheus/common \ |
| 21 |
prometheus:procfs:a1dba9c:procfs \ |
21 |
prometheus:procfs:a1dba9c:procfs/vendor/github.com/prometheus/procfs \ |
| 22 |
beorn7:perks:4c0e845:perks \ |
22 |
beorn7:perks:4c0e845:perks/vendor/github.com/beorn7/perks \ |
| 23 |
golang:protobuf:2bba060:protobuf \ |
23 |
golang:protobuf:2bba060:protobuf/vendor/github.com/golang/protobuf \ |
| 24 |
matttproud:golang_protobuf_extensions:c12348c:extensions |
24 |
matttproud:golang_protobuf_extensions:c12348c:extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ |
|
|
25 |
sirupsen:logrus:9b3cdde:logrus/vendor/github.com/Sirupsen/logrus \ |
| 26 |
golang:sys:e8e3143:golang_sys/vendor/golang.org/x/sys |
| 25 |
|
27 |
|
| 26 |
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} |
28 |
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} |
| 27 |
|
29 |
|
|
Lines 32-52
Link Here
|
| 32 |
|
34 |
|
| 33 |
PLIST_FILES= bin/unbound_exporter |
35 |
PLIST_FILES= bin/unbound_exporter |
| 34 |
|
36 |
|
| 35 |
pre-build: |
|
|
| 36 |
echo ${WRKSRC_client_golang} |
| 37 |
${MKDIR} ${GO_WRKDIR_SRC}/github.com/prometheus |
| 38 |
${MKDIR} ${GO_WRKDIR_SRC}/github.com/beorn7 |
| 39 |
${MKDIR} ${GO_WRKDIR_SRC}/github.com/golang |
| 40 |
${MKDIR} ${GO_WRKDIR_SRC}/github.com/matttproud |
| 41 |
${MV} ${WRKSRC_client_golang} ${GO_WRKDIR_SRC}/github.com/prometheus/client_golang |
| 42 |
${MV} ${WRKSRC_client_model} ${GO_WRKDIR_SRC}/github.com/prometheus/client_model |
| 43 |
${MV} ${WRKSRC_common} ${GO_WRKDIR_SRC}/github.com/prometheus/common |
| 44 |
${MV} ${WRKSRC_procfs} ${GO_WRKDIR_SRC}/github.com/prometheus/procfs |
| 45 |
${MV} ${WRKSRC_perks} ${GO_WRKDIR_SRC}/github.com/beorn7/perks |
| 46 |
${MV} ${WRKSRC_protobuf} ${GO_WRKDIR_SRC}/github.com/golang/protobuf |
| 47 |
${MV} ${WRKSRC_extensions} ${GO_WRKDIR_SRC}/github.com/matttproud/golang_protobuf_extensions |
| 48 |
|
| 49 |
do-install: |
| 50 |
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/unbound_exporter ${STAGEDIR}${PREFIX}/bin |
| 51 |
|
| 52 |
.include <bsd.port.mk> |
37 |
.include <bsd.port.mk> |