mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
devel/gb: update to new snapshot
This commit is contained in:
parent
92277392ab
commit
003ef7a3bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390867
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gb
|
||||
PORTVERSION= 0.0.0.2015050101
|
||||
PORTVERSION= 0.0.0.2015062801
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= swills@FreeBSD.org
|
||||
@ -11,46 +11,38 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= constabulary
|
||||
GH_TAGNAME= 400dce5e5172bcbaf609e6a1107988bb5571dc90
|
||||
GH_TAGNAME= d14e213
|
||||
|
||||
PLIST_FILES= bin/gb bin/gb-env bin/gb-vendor
|
||||
PLIST_FILES= bin/gb bin/gb-vendor
|
||||
|
||||
PORTDOCS= README.md
|
||||
PORTDOCS= README.md LICENSE
|
||||
|
||||
STRIP= # stripping can break go binaries
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
post-extract:
|
||||
@cd ${WRKSRC} ; ${MKDIR} src/github.com/${GH_ACCOUNT}/${GH_PROJECT} ; \
|
||||
${CP} -R LICENSE README.md build.go build_test.go cgo.go cmd \
|
||||
context.go gb.go gc.go getting-started.md gotest_go11.go \
|
||||
install.go log.go package.go package_test.go project.go \
|
||||
stdlib.go target.go test.go test_test.go testdata toolchain.go \
|
||||
util.go wercker.yml \
|
||||
${MV} .gitignore LICENSE README.md build.go build_test.go \
|
||||
cgo.go cgo14.go cgo15.go cmd context.go context_test.go \
|
||||
defaultcc.go defaultcc_bsd.go gb.go gb_test.go gc.go gc14.go \
|
||||
gc15.go install.go log.go package.go package_test.go project.go \
|
||||
src.go stdlib.go target.go testdata wercker.yml \
|
||||
src/github.com/${GH_ACCOUNT}/${GH_PROJECT}
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} ; \
|
||||
${SETENV} GOPATH=${WRKSRC} go build -o gb-env \
|
||||
src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/cmd/gb-env/main.go ; \
|
||||
${SETENV} GOPATH=${WRKSRC} go build -o gb \
|
||||
src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/cmd/gb/main.go \
|
||||
src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/cmd/gb/plugin.go \
|
||||
src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/cmd/gb/build.go \
|
||||
src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/cmd/gb/test.go ; \
|
||||
${SETENV} GOPATH=${WRKSRC} go build -o gb-vendor \
|
||||
src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/cmd/gb-vendor/main.go
|
||||
@cd ${WRKSRC} ; \
|
||||
${SETENV} GOPATH=${WRKSRC} go install ./...
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gb \
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/gb \
|
||||
${STAGEDIR}${PREFIX}/bin/
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gb-env \
|
||||
${STAGEDIR}${PREFIX}/bin/
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gb-vendor \
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/gb-vendor \
|
||||
${STAGEDIR}${PREFIX}/bin/
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${CP} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/README.md \
|
||||
${STAGEDIR}${DOCSDIR}
|
||||
${CP} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/LICENSE \
|
||||
${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (constabulary-gb-0.0.0.2015050101-400dce5e5172bcbaf609e6a1107988bb5571dc90_GH0.tar.gz) = daff70f492a566e98347e9d68b898c6896a7d4adf954c8788a020aa4764bf486
|
||||
SIZE (constabulary-gb-0.0.0.2015050101-400dce5e5172bcbaf609e6a1107988bb5571dc90_GH0.tar.gz) = 21774
|
||||
SHA256 (constabulary-gb-0.0.0.2015062801-d14e213_GH0.tar.gz) = 8add1642467bcc1964619ddf29ef815b656bd1d0627a3ad98b75fd499264d20b
|
||||
SIZE (constabulary-gb-0.0.0.2015062801-d14e213_GH0.tar.gz) = 53439
|
||||
|
Loading…
Reference in New Issue
Block a user