diff --git a/devel/pinact/Makefile b/devel/pinact/Makefile index d22b3a70ca2b..ef4a2a2f06b2 100644 --- a/devel/pinact/Makefile +++ b/devel/pinact/Makefile @@ -1,57 +1,56 @@ PORTNAME= pinact DISTVERSIONPREFIX= v -DISTVERSION= 4.1.1 -PORTREVISION= 3 +DISTVERSION= 5.0.0 CATEGORIES= devel MAINTAINER= tagattie@FreeBSD.org COMMENT= CLI to pin GitHub Actions and Reusable Workflows WWW= https://github.com/suzuki-shunsuke/pinact LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.26+,modules +USES= go:1.27+,modules -GO_MODULE= github.com/suzuki-shunsuke/${PORTNAME}/v4 +GO_MODULE= github.com/suzuki-shunsuke/${PORTNAME}/v5 GO_TARGET= ./cmd/pinact GO_LDFLAGS= -w -X main.version=${DISTVERSION} PLIST_FILES= bin/${PORTNAME} PORTDOCS= CONTRIBUTING.md README.md USAGE.md OPTIONS_DEFINE= COMPLETIONS DOCS OPTIONS_DEFAULT=COMPLETIONS COMPLETIONS_DESC= Build and/or install shell completions COMPLETIONS_PLIST_FILES=etc/bash_completion.d/${PORTNAME} \ share/fish/completions/${PORTNAME}.fish \ share/zsh/site-functions/_${PORTNAME} post-configure: @${CP} ${GO_WRKSRC}/vendor/github.com/suzuki-shunsuke/ghtkn-go-sdk/ghtkn/browser/browser_linux.go \ ${GO_WRKSRC}/vendor/github.com/suzuki-shunsuke/ghtkn-go-sdk/ghtkn/browser/browser_freebsd.go post-build-COMPLETIONS-on: .for shell in bash fish zsh ${GO_WRKDIR_BIN}/pinact completion ${shell} > \ ${GO_WRKSRC}/${PORTNAME}.${shell} .endfor post-install-COMPLETIONS-on: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d \ ${STAGEDIR}${PREFIX}/share/fish/completions \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${GO_WRKSRC}/${PORTNAME}.bash \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.fish \ ${STAGEDIR}${PREFIX}/share/fish/completions/${PORTNAME}.fish ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.zsh \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/devel/pinact/distinfo b/devel/pinact/distinfo index 593f91b77577..91fe5f8437a9 100644 --- a/devel/pinact/distinfo +++ b/devel/pinact/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1785467181 -SHA256 (go/devel_pinact/pinact-v4.1.1/v4.1.1.mod) = a811c35b52832079004882d5140adb60d77dfacfff7ff8411967909fe5c94c41 -SIZE (go/devel_pinact/pinact-v4.1.1/v4.1.1.mod) = 1777 -SHA256 (go/devel_pinact/pinact-v4.1.1/v4.1.1.zip) = 78cba53d4e98f5b5e3ab0c4144139c558848e4b05e445f61fc47e88b5489555d -SIZE (go/devel_pinact/pinact-v4.1.1/v4.1.1.zip) = 162917 +TIMESTAMP = 1789366948 +SHA256 (go/devel_pinact/pinact-v5.0.0/v5.0.0.mod) = bb29a0e750ce71da96620f5be13c4cca2c9696df1333b2027e1631aa4db0f005 +SIZE (go/devel_pinact/pinact-v5.0.0/v5.0.0.mod) = 1856 +SHA256 (go/devel_pinact/pinact-v5.0.0/v5.0.0.zip) = daffaaf6eb23b0060378485c91c02bde164e9d882b77d4014e4c819c830de9a8 +SIZE (go/devel_pinact/pinact-v5.0.0/v5.0.0.zip) = 181828