Lines 66-72
Link Here
|
66 |
do-build: |
66 |
do-build: |
67 |
@cd ${WRKSRC}/src/github.com/hashicorp/nomad; \ |
67 |
@cd ${WRKSRC}/src/github.com/hashicorp/nomad; \ |
68 |
${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -v -x \ |
68 |
${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -v -x \ |
69 |
-ldflags "-X main.GitDescribe v${PORTVERSION}" -o bin/nomad |
69 |
-ldflags "-X main.GitDescribe=v${PORTVERSION}" -o bin/nomad |
70 |
|
70 |
|
71 |
do-install: |
71 |
do-install: |
72 |
${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/hashicorp/nomad/bin/nomad ${STAGEDIR}${PREFIX}/bin/nomad |
72 |
${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/hashicorp/nomad/bin/nomad ${STAGEDIR}${PREFIX}/bin/nomad |