diff --git a/devel/gh/Makefile b/devel/gh/Makefile index c51931f56ef7..3bb44e8bbfad 100644 --- a/devel/gh/Makefile +++ b/devel/gh/Makefile @@ -1,60 +1,60 @@ PORTNAME= gh DISTVERSIONPREFIX= v -DISTVERSION= 2.37.0 +DISTVERSION= 2.39.1 CATEGORIES= devel MAINTAINER= lcook@FreeBSD.org COMMENT= GitHub's official command line tool WWW= https://cli.github.com LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= git:devel/git USES= go:1.21,modules _BUILD_VERSION= ${DISTVERSION} _BUILD_DATE= $$(date +%Y-%m-%d) GO_MODULE= github.com/cli/cli/v2 GO_TARGET= ./cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags "\ -s -w \ -X ${GO_MODULE}/internal/build.Version=${_BUILD_VERSION} \ -X ${GO_MODULE}/internal/build.Date=${_BUILD_DATE}" _DOCS= README.md docs/[!README]*.md PORTDOCS= ${_DOCS:T} OPTIONS_DEFINE= COMPLETIONS DOCS MANPAGES OPTIONS_DEFAULT= COMPLETIONS MANPAGES OPTIONS_SUB= yes COMPLETIONS_DESC= Build and install bash, fish and zsh shell completions COMPLETIONS_PLIST_FILES= share/bash-completion/completions/${PORTNAME} \ share/fish/vendor_completions.d/${PORTNAME}.fish \ share/zsh/site-functions/_${PORTNAME} do-build-MANPAGES-on: (cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} run ${GO_BUILDFLAGS} \ ./cmd/gen-docs --man-page --doc-path docs/man 2>/dev/null) post-install-COMPLETIONS-on: .for _shell in bash fish zsh ${GO_WRKDIR_BIN}/${PORTNAME} completion -s ${_shell} \ >${STAGEDIR}${PREFIX}/${COMPLETIONS_PLIST_FILES:M*${_shell}*} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && \ ${INSTALL_DATA} ${_DOCS} \ ${STAGEDIR}${DOCSDIR}) post-install-MANPAGES-on: ${INSTALL_MAN} ${WRKSRC}/docs/man/*.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1 .include diff --git a/devel/gh/distinfo b/devel/gh/distinfo index 6750f7a687c4..a7d4169b5deb 100644 --- a/devel/gh/distinfo +++ b/devel/gh/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1697665747 -SHA256 (go/devel_gh/gh-v2.37.0/v2.37.0.mod) = 61306f80660e17e56986fdadb14bfd7da62d3b4255114202ec1aae240359ecb8 -SIZE (go/devel_gh/gh-v2.37.0/v2.37.0.mod) = 3776 -SHA256 (go/devel_gh/gh-v2.37.0/v2.37.0.zip) = 9342c67207bc52963d69738782b08a806c1e1fe6be8cca5eed6461c7f94001ce -SIZE (go/devel_gh/gh-v2.37.0/v2.37.0.zip) = 1341292 +TIMESTAMP = 1700076912 +SHA256 (go/devel_gh/gh-v2.39.1/v2.39.1.mod) = 894b50319685ce00fe86db2c0aa2b776354aa10c8df5b6cd4a3ba2d2611dd750 +SIZE (go/devel_gh/gh-v2.39.1/v2.39.1.mod) = 3717 +SHA256 (go/devel_gh/gh-v2.39.1/v2.39.1.zip) = 534827df2de6a6318d427181349f3bd96cd8974f810e198dd100b79e14ccacd5 +SIZE (go/devel_gh/gh-v2.39.1/v2.39.1.zip) = 1349616