- Update to 1.2

This commit is contained in:
Danilo Egea Gondolfo 2018-07-07 17:17:52 +00:00
parent 92b6288161
commit 86eced105a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474111
2 changed files with 15 additions and 9 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bombardier
PORTVERSION= 1.1.2
PORTVERSION= 1.2
DISTVERSIONPREFIX= v
CATEGORIES= benchmarks
@ -11,18 +11,24 @@ COMMENT= Fast cross-platform HTTP benchmarking tool written in Go
LICENSE= MIT
USES= go
USE_GITHUB= yes
GH_ACCOUNT= codesenberg
USES= go
PLIST_FILES= bin/${PORTNAME}
post-patch:
${MKDIR} ${WRKDIR}/src/github.com/${GH_ACCOUNT}
${LN} -s ${WRKSRC} ${WRKDIR}/src/github.com/${GH_ACCOUNT}/${PORTNAME}
do-build:
cd ${WRKSRC}; \
${LN} -s vendor src; \
${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -ldflags "-X main.version=${PORTVERSION}" .
cd ${WRKDIR}/src/github.com/${GH_ACCOUNT}/${PORTNAME} && \
GOPATH=${WRKDIR} go build -ldflags "-X main.version=${PORTVERSION}" .
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-${PORTVERSION} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_PROGRAM} \
${WRKDIR}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1525311478
SHA256 (codesenberg-bombardier-v1.1.2_GH0.tar.gz) = 169b77d083f1ac72a39f33604d2dc8ea9d0fbfbf379565e43686a7c8271b4493
SIZE (codesenberg-bombardier-v1.1.2_GH0.tar.gz) = 579212
TIMESTAMP = 1530975513
SHA256 (codesenberg-bombardier-v1.2_GH0.tar.gz) = 7edefaa3705b90e8ec412a78f5061dfde580559e142c784bad2972ee30fd01f1
SIZE (codesenberg-bombardier-v1.2_GH0.tar.gz) = 591331