Lines 1-36
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= vegeta |
3 |
PORTNAME= vegeta |
4 |
DISTVERSIONPREFIX= v |
4 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSION= 7.0.0 |
5 |
DISTVERSION= 8.0.0 |
6 |
CATEGORIES= benchmarks www |
6 |
CATEGORIES= benchmarks www |
7 |
|
7 |
|
8 |
MAINTAINER= egypcio@googlemail.com |
8 |
MAINTAINER= egypcio@googlemail.com |
9 |
COMMENT= HTTP load testing tool and library |
9 |
COMMENT= HTTP load testing tool and library |
10 |
|
10 |
|
11 |
LICENSE= MIT |
11 |
LICENSE= MIT |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
13 |
|
14 |
BUILD_DEPENDS= go:lang/go |
14 |
BUILD_DEPENDS= go:lang/go |
15 |
|
15 |
|
16 |
PLIST_FILES= bin/${PORTNAME} |
16 |
PLIST_FILES= bin/${PORTNAME} |
17 |
|
17 |
|
18 |
USE_GITHUB= yes |
18 |
USE_GITHUB= yes |
19 |
GH_ACCOUNT= tsenart |
19 |
GH_ACCOUNT= tsenart |
20 |
|
20 |
|
21 |
GH_TUPLE= streadway:quantile:b0c5887:quantile/github.com/streadway/quantile \ |
21 |
GH_TUPLE= streadway:quantile:b0c5887:quantile/github.com/streadway/quantile \ |
22 |
golang:net:ab54850:net/golang.org/x/net \ |
22 |
golang:net:ed29d75:net/golang.org/x/net \ |
23 |
golang:text:c4d099d:text/golang.org/x/text |
23 |
golang:text:v0.3.0:text/golang.org/x/text \ |
|
|
24 |
lucasb-eyer:go-colorful:v1.0:colorful/github.com/lucasb-eyer/go-colorful |
24 |
|
25 |
|
25 |
do-build: |
26 |
do-build: |
26 |
@${MKDIR} ${WRKSRC}/github.com/${GH_ACCOUNT} |
27 |
@${MKDIR} ${WRKSRC}/github.com/${GH_ACCOUNT} |
27 |
@${RLN} ${WRKSRC} ${WRKSRC}/github.com/${GH_ACCOUNT}/${PORTNAME} |
28 |
@${RLN} ${WRKSRC} ${WRKSRC}/github.com/${GH_ACCOUNT}/${PORTNAME} |
28 |
@${RLN} ${WRKSRC} ${WRKSRC}/src |
29 |
@${RLN} ${WRKSRC} ${WRKSRC}/src |
29 |
@cd ${WRKSRC} && \ |
30 |
@cd ${WRKSRC} && \ |
30 |
${SETENV} ${MAKE_ENV} CGO_ENABLED=0 GOPATH=${WRKSRC} \ |
31 |
${SETENV} ${MAKE_ENV} CGO_ENABLED=0 GOPATH=${WRKSRC} \ |
31 |
go build -ldflags "-X main.Version=${DISTVERSION}" -o bin/${PORTNAME} |
32 |
go build -ldflags "-X main.Version=${DISTVERSION}" -o bin/${PORTNAME} |
32 |
|
33 |
|
33 |
do-install: |
34 |
do-install: |
34 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}/${LOCALBASE}/bin |
35 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}/${LOCALBASE}/bin |
35 |
|
36 |
|
36 |
.include <bsd.port.mk> |
37 |
.include <bsd.port.mk> |