diff --git a/archivers/plakar/Makefile b/archivers/plakar/Makefile index 5a44528bb902..a0fdc38e4345 100644 --- a/archivers/plakar/Makefile +++ b/archivers/plakar/Makefile @@ -1,22 +1,22 @@ PORTNAME= plakar DISTVERSIONPREFIX= v DISTVERSION= 1.1.4 CATEGORIES= archivers MAINTAINER= twisla@twis.la COMMENT= Utility to create distributed, versioned backups WWW= https://docs.plakar.io/ LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/PlakarKorp/plakar GO_TARGET= . PLIST_FILES= bin/plakar .include diff --git a/audio/blucli/Makefile b/audio/blucli/Makefile index 957cd81bab39..add6da24399f 100644 --- a/audio/blucli/Makefile +++ b/audio/blucli/Makefile @@ -1,21 +1,21 @@ PORTNAME= blucli DISTVERSIONPREFIX= v DISTVERSION= 0.1.3 PORTREVISION= 5 CATEGORIES= audio net MAINTAINER= zi@FreeBSD.org COMMENT= Go-based cli for BluOS WWW= https://github.com/steipete/blucli LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/steipete/blucli GO_TARGET= ./cmd/blu PLIST_FILES= bin/blu .include diff --git a/audio/songsee/Makefile b/audio/songsee/Makefile index aff25dda77f3..0653209bea85 100644 --- a/audio/songsee/Makefile +++ b/audio/songsee/Makefile @@ -1,24 +1,24 @@ PORTNAME= songsee DISTVERSIONPREFIX= v DISTVERSION= 0.1.1 PORTREVISION= 2 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Audio visualizer: spectrograms, mel, chroma, and more WWW= https://github.com/steipete/songsee LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ffmpeg:multimedia/ffmpeg -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/steipete/songsee GO_TARGET= ./cmd/songsee PLIST_FILES= bin/songsee .include diff --git a/audio/subtui/Makefile b/audio/subtui/Makefile index dddba320f0be..5f7c3f795358 100644 --- a/audio/subtui/Makefile +++ b/audio/subtui/Makefile @@ -1,21 +1,21 @@ PORTNAME= SubTUI DISTVERSIONPREFIX= v DISTVERSION= 2.14.3 PORTREVISION= 2 CATEGORIES= audio MAINTAINER= jbo@FreeBSD.org COMMENT= Lightweight subsonic TUI music player WWW= https://github.com/MattiaPun/SubTUI LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= mpv>0:multimedia/mpv -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/MattiaPun/SubTUI/v2 PLIST_FILES= bin/SubTUI .include diff --git a/deskutils/noti/Makefile b/deskutils/noti/Makefile index 16577c88428c..047aa931b053 100644 --- a/deskutils/noti/Makefile +++ b/deskutils/noti/Makefile @@ -1,40 +1,40 @@ PORTNAME= noti DISTVERSION= 3.9.0 CATEGORIES= deskutils MASTER_SITES= https://codeberg.org/roble/noti/releases/download/${DISTVERSION}/ DISTNAME= ${PORTNAME}${DISTVERSION} MAINTAINER= tagattie@FreeBSD.org COMMENT= Trigger notifications when a process completes WWW= https://codeberg.org/roble/noti LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSES/MIT.txt RUN_DEPENDS= notify-send:devel/libnotify -USES= go:1.25+,modules +USES= go:modules GO_TARGET= ./cmd/noti GO_LDFLAGS= -w -X codeberg.org/roble/noti/internal/command.Version=${DISTVERSION} NO_WRKSUBDIR= yes PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz \ share/man/man5/${PORTNAME}.yaml.5.gz PORTDOCS= CONTRIBUTING.md README.md OPTIONS_DEFINE= DOCS post-install: ${INSTALL_MAN} ${WRKSRC}/docs/man/dist/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}.1 ${INSTALL_MAN} ${WRKSRC}/docs/man/dist/${PORTNAME}.yaml.5 \ ${STAGEDIR}${PREFIX}/share/man/man5/${PORTNAME}.yaml.5 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${GO_WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/devel/air-go/Makefile b/devel/air-go/Makefile index 36373f23349f..21ca77775a0f 100644 --- a/devel/air-go/Makefile +++ b/devel/air-go/Makefile @@ -1,21 +1,21 @@ PORTNAME= air DISTVERSIONPREFIX= v DISTVERSION= 1.67.4 CATEGORIES= devel PKGNAMESUFFIX= -go MAINTAINER= adamw@FreeBSD.org COMMENT= Live reload for Go apps WWW= https://github.com/air-verse/air LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/air-verse/air CONFLICTS_INSTALL= air PLIST_FILES= bin/air .include diff --git a/devel/cirrus-cli/Makefile b/devel/cirrus-cli/Makefile index 317486946329..9153979bddcc 100644 --- a/devel/cirrus-cli/Makefile +++ b/devel/cirrus-cli/Makefile @@ -1,30 +1,30 @@ PORTNAME= cirrus-cli DISTVERSIONPREFIX= v DISTVERSION= 0.165.2 PORTREVISION= 4 CATEGORIES= devel MAINTAINER= bofh@FreeBSD.org COMMENT= Command line interface for Cirrus CI WWW= https://github.com/cirruslabs/cirrus-cli LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules USE_RC_SUBR= ${PORTNAME} GO_MODULE= github.com/cirruslabs/cirrus-cli GO_TARGET= ./cmd/cirrus GO_BUILDFLAGS= -ldflags="-X github.com/cirruslabs/cirrus-cli/internal/version.Version=${DISTVERSION}" SUB_FILES= pkg-message USERS= cirrus GROUPS= cirrus post-install: ${INSTALL_DATA} ${FILESDIR}/cirrus-worker.yml ${STAGEDIR}${PREFIX}/etc/cirrus-worker.yml.sample .include diff --git a/devel/delve/Makefile b/devel/delve/Makefile index 4f746e78ad01..82b30a4ace69 100644 --- a/devel/delve/Makefile +++ b/devel/delve/Makefile @@ -1,28 +1,28 @@ PORTNAME= delve DISTVERSIONPREFIX= v DISTVERSION= 1.26.2 PORTREVISION= 3 CATEGORIES= devel MAINTAINER= dmitry.wagin@ya.ru COMMENT= Debugger for the Go programming language WWW= https://github.com/go-delve/delve LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 -USES= go:1.25+,modules +USES= go:modules USE_GITHUB= yes GH_ACCOUNT= go-delve GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} GO_TARGET= ./cmd/dlv CONFLICTS_INSTALL= dlv # bin/dlv PLIST_FILES= bin/dlv .include diff --git a/devel/gh/Makefile b/devel/gh/Makefile index ad1eec117329..209ae31b78e8 100644 --- a/devel/gh/Makefile +++ b/devel/gh/Makefile @@ -1,61 +1,61 @@ PORTNAME= gh DISTVERSIONPREFIX= v DISTVERSION= 2.83.2 PORTREVISION= 7 CATEGORIES= devel MAINTAINER= dutra@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.25+,modules +USES= go: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}${PREFIX}/share/man/man1 .include diff --git a/devel/gilt/Makefile b/devel/gilt/Makefile index 7781ec7a1a4d..ebd47c402097 100644 --- a/devel/gilt/Makefile +++ b/devel/gilt/Makefile @@ -1,19 +1,19 @@ PORTNAME= gilt DISTVERSIONPREFIX= v DISTVERSION= 2.2.5 PORTREVISION= 12 CATEGORIES= devel MAINTAINER= matthew@FreeBSD.org COMMENT= GIT layering tool WWW= https://retr0h.github.io/gilt/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/retr0h/gilt/v2 PLIST_FILES= bin/gilt .include diff --git a/devel/gitleaks/Makefile b/devel/gitleaks/Makefile index 707b050f98dc..e0a254444aad 100644 --- a/devel/gitleaks/Makefile +++ b/devel/gitleaks/Makefile @@ -1,29 +1,29 @@ PORTNAME= gitleaks DISTVERSIONPREFIX= v DISTVERSION= 8.30.1 PORTREVISION= 3 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= Tool for detecting hardcoded secrets in git repositories WWW= https://gitleaks.io/ \ https://github.com/gitleaks/gitleaks LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules USE_GITHUB= nodefault GH_TUPLE= golang:sys:v0.6.0:sys GO_MODULE= github.com/zricethezav/gitleaks/v8 GO_TARGET= . GO_BUILDFLAGS= -ldflags "-X github.com/zricethezav/gitleaks/v8/version.Version=v${DISTVERSION}" PLIST_FILES= bin/${PORTNAME} pre-patch: ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys ${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys .include diff --git a/devel/oq/Makefile b/devel/oq/Makefile index 151624a7ed40..36a5438fc548 100644 --- a/devel/oq/Makefile +++ b/devel/oq/Makefile @@ -1,26 +1,26 @@ PORTNAME= oq DISTVERSIONPREFIX= v DISTVERSION= 0.0.22 PORTREVISION= 4 CATEGORIES= devel MAINTAINER= hoanga@gmail.com COMMENT= Terminal OpenAPI Spec viewer WWW= https://github.com/plutov/oq LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/plutov/oq PLIST_FILES= bin/${PORTNAME} PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES post-install-EXAMPLES-on: cd ${WRKSRC}/examples && \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/devel/task/Makefile b/devel/task/Makefile index b5466f1b71ae..62dfe1363d81 100644 --- a/devel/task/Makefile +++ b/devel/task/Makefile @@ -1,46 +1,46 @@ PORTNAME= task DISTVERSIONPREFIX= v DISTVERSION= 3.52.0 PORTREVISION= 1 CATEGORIES= devel MAINTAINER= tagattie@FreeBSD.org COMMENT= Task runner / simpler Make alternative written in Go WWW= https://taskfile.dev/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/go-task/task/v3 GO_TARGET= ./cmd/task PLIST_FILES= bin/${PORTNAME} PORTDOCS= CHANGELOG.md README.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-install-COMPLETIONS-on: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d \ ${STAGEDIR}${PREFIX}/share/fish/completions \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/completion/bash/${PORTNAME}.bash \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/completion/fish/${PORTNAME}.fish \ ${STAGEDIR}${PREFIX}/share/fish/completions/${PORTNAME}.fish ${INSTALL_DATA} ${WRKSRC}/completion/zsh/_${PORTNAME} \ ${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/terraform-ls/Makefile b/devel/terraform-ls/Makefile index 66be66501e19..d140ed8b0e7a 100644 --- a/devel/terraform-ls/Makefile +++ b/devel/terraform-ls/Makefile @@ -1,20 +1,20 @@ PORTNAME= terraform-ls DISTVERSIONPREFIX= v DISTVERSION= 0.38.8 PORTREVISION= 1 CATEGORIES= devel MAINTAINER= dutra@FreeBSD.org COMMENT= Terraform language server WWW= https://github.com/hashicorp/terraform-ls LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/hashicorp/terraform-ls PLIST_FILES= bin/${PORTNAME} .include diff --git a/dns/q-dns/Makefile b/dns/q-dns/Makefile index 5d0df801aa6e..576372363556 100644 --- a/dns/q-dns/Makefile +++ b/dns/q-dns/Makefile @@ -1,20 +1,20 @@ PORTNAME= q-dns DISTVERSIONPREFIX= v DISTVERSION= 0.19.12 PORTREVISION= 3 CATEGORIES= dns MAINTAINER= yuri@FreeBSD.org COMMENT= Tiny command line DNS client WWW= https://github.com/natesales/q LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/natesales/q PLIST_FILES= bin/${PORTNAME} .include diff --git a/dns/zdns/Makefile b/dns/zdns/Makefile index 7f606dd4e72d..0a6107045705 100644 --- a/dns/zdns/Makefile +++ b/dns/zdns/Makefile @@ -1,23 +1,23 @@ PORTNAME= zdns DISTVERSIONPREFIX= v DISTVERSION= 2.1.1 PORTREVISION= 2 CATEGORIES= dns MAINTAINER= yuri@FreeBSD.org COMMENT= Fast CLI DNS lookup tool WWW= https://github.com/zmap/zdns LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/zmap/zdns/v2 PLIST_FILES= bin/${PORTNAME} post-patch: @${CP} ${WRKSRC}/vendor/github.com/zmap/zcrypto/x509/root_linux.go ${WRKSRC}/vendor/github.com/zmap/zcrypto/x509/root_freebsd.go .include diff --git a/editors/orbiton/Makefile b/editors/orbiton/Makefile index 22e45e049c52..ef327b01ffb6 100644 --- a/editors/orbiton/Makefile +++ b/editors/orbiton/Makefile @@ -1,21 +1,21 @@ PORTNAME= orbiton DISTVERSIONPREFIX= v DISTVERSION= 2.74.4 PORTREVISION= 1 CATEGORIES= editors MAINTAINER= yuri@FreeBSD.org COMMENT= Small, fast and limited text editor in Go WWW= https://roboticoverlords.org/orbiton/ \ https://github.com/xyproto/orbiton LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/xyproto/orbiton/v2 PLIST_FILES= bin/${PORTNAME} .include diff --git a/ftp/surge/Makefile b/ftp/surge/Makefile index c26fb2686aea..18eed99c8428 100644 --- a/ftp/surge/Makefile +++ b/ftp/surge/Makefile @@ -1,25 +1,25 @@ PORTNAME= surge DISTVERSIONPREFIX= v DISTVERSION= 0.9.0 PORTREVISION= 1 CATEGORIES= ftp PKGNAMESUFFIX= -download-manager MAINTAINER= yuri@FreeBSD.org COMMENT= TUI download manager for power users WWW= https://surgedm.github.io/ \ https://github.com/SurgeDM/Surge LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/SurgeDM/Surge PLIST_FILES= bin/${PORTNAME} .include diff --git a/misc/goplaces/Makefile b/misc/goplaces/Makefile index 488b2b00eeb5..c8b806cb7a27 100644 --- a/misc/goplaces/Makefile +++ b/misc/goplaces/Makefile @@ -1,21 +1,21 @@ PORTNAME= goplaces DISTVERSIONPREFIX= v DISTVERSION= 0.4.0 PORTREVISION= 3 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Modern Google Places CLI in Go WWW= https://github.com/steipete/goplaces LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/steipete/goplaces GO_TARGET= ./cmd/goplaces PLIST_FILES= bin/goplaces .include diff --git a/misc/ktea/Makefile b/misc/ktea/Makefile index 217af40f40ae..94918ffdb728 100644 --- a/misc/ktea/Makefile +++ b/misc/ktea/Makefile @@ -1,21 +1,21 @@ PORTNAME= ktea DISTVERSIONPREFIX= v DISTVERSION= 0.8.0 PORTREVISION= 1 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Kafka TUI client WWW= https://github.com/jonas-grgt/ktea LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/jonas-grgt/ktea GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= bin/${PORTNAME} .include diff --git a/misc/picoclaw/Makefile b/misc/picoclaw/Makefile index 1b592c36d976..63a9349e29f0 100644 --- a/misc/picoclaw/Makefile +++ b/misc/picoclaw/Makefile @@ -1,36 +1,36 @@ PORTNAME= picoclaw DISTVERSIONPREFIX= v DISTVERSION= 0.3.1 PORTREVISION= 1 CATEGORIES= misc MAINTAINER= olivier@FreeBSD.org COMMENT= Lightweight personal AI assistant WWW= https://github.com/sipeed/picoclaw LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules BROKEN_i386= vendored modernc.org/libc + modernc.org/sqlite broken on 386 BROKEN_armv7= vendored modernc.org/libc + modernc.org/sqlite broken on arm GO_MODULE= github.com/sipeed/picoclaw GO_TARGET= ./cmd/${PORTNAME} _CONFIG_PKG= ${GO_MODULE}/pkg/config GO_BUILDFLAGS= -tags goolm,stdjson \ -ldflags "-s -w \ -X ${_CONFIG_PKG}.Version=${DISTVERSION}" USE_RC_SUBR= ${PORTNAME} SUB_FILES= pkg-message PLIST_FILES= bin/${PORTNAME} pre-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_ENV} \ ${GO_CMD} generate ./... .include diff --git a/net-mgmt/check_wg/Makefile b/net-mgmt/check_wg/Makefile index 43e75563dfab..44b3c837deba 100644 --- a/net-mgmt/check_wg/Makefile +++ b/net-mgmt/check_wg/Makefile @@ -1,31 +1,31 @@ PORTNAME= check_wg DISTVERSIONPREFIX= v DISTVERSION= 0.0.8 PORTREVISION= 11 CATEGORIES= net-mgmt MAINTAINER= dsh@bamus.cz COMMENT= Icinga2 health check of wireguard peers, using output of wg(8) WWW= https://github.com/dsh2dsh/${PORTNAME} LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules USE_GITHUB= yes GH_ACCOUNT= dsh2dsh GO_MOD_DIST= github GO_MODULE= github.com/${GH_ACCOUNT}/${PORTNAME} _BUILD_XFLAGS= main.version=${DISTVERSIONFULL} GO_BUILDFLAGS= -ldflags "${STRIP} ${_BUILD_XFLAGS:S!^!-X ${GO_MODULE}/!}" PLIST_FILES= libexec/nagios/${PORTNAME} do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/libexec/nagios/ .include diff --git a/net-mgmt/victoria-metrics/Makefile b/net-mgmt/victoria-metrics/Makefile index 36218fb90b74..4df8c6c2217a 100644 --- a/net-mgmt/victoria-metrics/Makefile +++ b/net-mgmt/victoria-metrics/Makefile @@ -1,54 +1,54 @@ PORTNAME?= victoria-metrics PORTVERSION= 1.133.0 # don't forget to update BUILDINFO_TAG DISTVERSIONPREFIX= v PORTREVISION?= 8 CATEGORIES= net-mgmt MAINTAINER= danfe@FreeBSD.org COMMENT?= Fast, cost-effective, and scalable time series database WWW= https://victoriametrics.com/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= gmake go:1.25+,no_targets +USES= gmake go:no_targets USE_RC_SUBR?= ${PORTNAME} MAKE_ENV= PKG_TAG=v${PORTVERSION} GOOS=${OPSYS:tl} \ BUILDINFO_TAG=tags-v${PORTVERSION}-0-ge8160fc \ DATEINFO_TAG=${_GET_DATE:sh} ALL_TARGET= ${PORTNAME}-pure USE_GITHUB= yes GH_ACCOUNT= VictoriaMetrics GH_PROJECT= VictoriaMetrics USERS= victoria-metrics GROUPS= victoria-metrics VICTORIA_DATA?= /var/db/victoria-metrics SUB_LIST+= VICTORIA_DATA=${VICTORIA_DATA} \ VICTORIA_USER=${USERS} PLIST_SUB+= VICTORIA_DATA=${VICTORIA_DATA} \ VICTORIA_GROUP=${GROUPS} \ VICTORIA_USER=${USERS} OPTIONS_DEFINE= DOCS .if !defined(MASTERDIR) do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bin/${PORTNAME}-pure \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${MKDIR} ${STAGEDIR}${VICTORIA_DATA} do-install-DOCS-on: @${RM} -r ${INSTALL_WRKSRC}/docs/victorialogs \ ${INSTALL_WRKSRC}/docs/victoriametrics/vmctl @cd ${INSTALL_WRKSRC}/docs && ${RM} Makefile victoriametrics/vm* @${MKDIR} ${STAGEDIR}${DOCSDIR} ${MV} ${INSTALL_WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} .endif .include _GET_DATE= TZ= ${STAT} -f %Sm -t %Y%m%d-%H%M%S ${WRKSRC}/.gitignore diff --git a/net-p2p/mkbrr/Makefile b/net-p2p/mkbrr/Makefile index 2c8fa7774f15..90899a7fee79 100644 --- a/net-p2p/mkbrr/Makefile +++ b/net-p2p/mkbrr/Makefile @@ -1,28 +1,28 @@ PORTNAME= mkbrr DISTVERSIONPREFIX= v DISTVERSION= 1.24.0 PORTREVISION= 1 CATEGORIES= net-p2p MAINTAINER= diizzy@FreeBSD.org COMMENT= Commmand-line utility to create, modify and inspect torrent files written in Go WWW= https://github.com/autobrr/mkbrr LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules CGO_ENABLED= 0 GO_MODULE= github.com/autobrr/${PORTNAME} PLIST_FILES= bin/mkbrr post-patch: @${REINPLACE_CMD} -e 's|%%DISTVERSION%%|${DISTVERSION}|g' \ ${PATCH_WRKSRC}/main.go @${REINPLACE_CMD} -e 's|%%BUILDTIME%%|${CONFIGURE_TARGET}|g' \ ${PATCH_WRKSRC}/main.go ${RM} ${PATCH_WRKSRC}/cmd/update.go .include diff --git a/net/gorss/Makefile b/net/gorss/Makefile index c86e0613a048..53c32e95d4b2 100644 --- a/net/gorss/Makefile +++ b/net/gorss/Makefile @@ -1,34 +1,34 @@ PORTNAME= gorss PORTVERSION= 0.5 DISTVERSIONPREFIX= v PORTREVISION= 6 CATEGORIES= net www MAINTAINER= ports@FreeBSD.org COMMENT= Simple RSS/Atom reader written in Go WWW= https://github.com/Lallassu/gorss LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules USE_GITHUB= yes GH_ACCOUNT= Lallassu .include "${.CURDIR}/Makefile.deps" GO_BUILDFLAGS= -ldflags "-w -X github.com/${GH_ACCOUNT}/${GH_PROJECT}/internal.Version=${PORTVERSION}" GO_TARGET= ./cmd/${PORTNAME} post-extract: @${LN} -sf ${FILESDIR}/modules.txt ${WRKSRC}/vendor post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \ ${WRKSRC}/vendor/github.com/OpenPeeDeeP/xdg/xdg_bsd.go post-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${CP} -a ${WRKSRC}/gorss.conf ${WRKSRC}/themes ${STAGEDIR}${DATADIR} .include diff --git a/net/k6/Makefile b/net/k6/Makefile index 10f672152c7f..65f6e78a47c9 100644 --- a/net/k6/Makefile +++ b/net/k6/Makefile @@ -1,38 +1,38 @@ PORTNAME= k6 DISTVERSIONPREFIX= v DISTVERSION= 2.1.0 PORTREVISION= 1 CATEGORIES= net MAINTAINER= dutra@FreeBSD.org COMMENT= Modern load testing tool, using Go and Javascript WWW= https://k6.io/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md -USES= go:1.25+,modules +USES= go:modules NOT_FOR_ARCHS= armv6 armv7 i386 _BUILD_DATE= $$(date -u +"%FT%T%z") _BUILD_HASH= 83a87a4 GO_MODULE= github.com/grafana/${PORTNAME}/v2 GO_BUILDFLAGS= -ldflags "\ -s -w \ -X go.k6.io/k6/lib/consts.VersionDetails=${_BUILD_DATE}/${_BUILD_HASH}" PLIST_FILES= bin/${PORTNAME} _DOCS= CODE_OF_CONDUCT.md CONTRIBUTING.md README.md SUPPORT.md PORTDOCS= ${_DOCS:T} OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && \ ${INSTALL_DATA} ${_DOCS} \ ${STAGEDIR}${DOCSDIR} .include diff --git a/net/krakend-ce/Makefile b/net/krakend-ce/Makefile index 559167b27108..45193862aaa9 100644 --- a/net/krakend-ce/Makefile +++ b/net/krakend-ce/Makefile @@ -1,32 +1,32 @@ PORTNAME= krakend-ce DISTVERSIONPREFIX= v DISTVERSION= 2.13.8 PORTREVISION= 1 CATEGORIES= net MAINTAINER= alven@FreeBSD.org COMMENT= High-performance, stateless, declarative, API Gateway WWW= https://www.krakend.io/ \ https://github.com/krakend/krakend-ce/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= armv7 i386 NOT_FOR_ARCHS_REASON= Build failure: vendor/github.com/krakendio/krakend-amqp/v2/consumer.go:47:20: cannot use math.MaxInt64 (untyped int constant 9223372036854775807) as int value in assignment (overflows) -USES= cpe go:1.25+,modules +USES= cpe go:modules CPE_VENDOR= krakend CPE_PRODUCT= krakend CPE_SW_EDITION= community GO_MODULE= github.com/krakendio/${PORTNAME}/v2 GO_TARGET= ./cmd/${PORTNAME} GO_LDFLAGS= -X github.com/luraproject/lura/v2/core.KrakendVersion=${DISTVERSION} \ -X github.com/luraproject/lura/v2/core.GoVersion=${GO_VERSION} TEST_TARGET= test PLIST_FILES= bin/${PORTNAME} .include diff --git a/print/pdfcpu/Makefile b/print/pdfcpu/Makefile index 2a3a6c4b3275..0bb0c59100fd 100644 --- a/print/pdfcpu/Makefile +++ b/print/pdfcpu/Makefile @@ -1,23 +1,23 @@ PORTNAME= pdfcpu DISTVERSIONPREFIX= v DISTVERSION= 0.14.0 CATEGORIES= print MAINTAINER= diizzy@FreeBSD.org COMMENT= PDF processor written in Go WWW= https://github.com/pdfcpu/pdfcpu LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/${PORTNAME}/${PORTNAME} PLIST_FILES= bin/pdfcpu GO_LDFLAGS= -X main.commit=Release \ -X main.date=tagged GO_TARGET= ./cmd/${PORTNAME} .include diff --git a/security/go-tuf/Makefile b/security/go-tuf/Makefile index 4080aeb474ae..513da34f53b3 100644 --- a/security/go-tuf/Makefile +++ b/security/go-tuf/Makefile @@ -1,22 +1,22 @@ PORTNAME= go-tuf DISTVERSIONPREFIX= v DISTVERSION= 2.4.2 PORTREVISION= 2 CATEGORIES= security MAINTAINER= bofh@FreeBSD.org COMMENT= Framework for Securing Software WWW= https://theupdateframework.io LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cpe go:1.25+,modules +USES= cpe go:modules CPE_VENDOR= theupdateframework GO_TARGET= ./examples/cli/tuf-client GO_MODULE= github.com/theupdateframework/go-tuf/v2 PLIST_FILES= bin/tuf-client .include diff --git a/security/headscale/Makefile b/security/headscale/Makefile index e12e815cad2b..72b0de6373d7 100644 --- a/security/headscale/Makefile +++ b/security/headscale/Makefile @@ -1,48 +1,48 @@ PORTNAME= headscale DISTVERSIONPREFIX= v DISTVERSION= 0.27.1 PORTREVISION= 7 CATEGORIES= security net-vpn MAINTAINER= m.muenz@gmail.com COMMENT= Mesh VPN that makes it easy to connect your devices WWW= https://github.com/juanfont/headscale LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv6= fails to compile: modernc.org/libc BROKEN_armv7= fails to compile: modernc.org/libc NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= version 0.27 removed i386 support RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss -USES= go:1.25+,modules +USES= go:modules USE_RC_SUBR= ${PORTNAME} GO_MODULE= github.com/juanfont/headscale GO_TARGET= ./cmd/headscale PLIST_FILES= "@sample ${ETCDIR}/config.yaml.sample" \ "@dir /var/cache/${PORTNAME}" \ "@dir /var/db/${PORTNAME}" \ bin/${PORTNAME} post-patch: @${REINPLACE_CMD} -e 's|/etc/headscale|${ETCDIR}|g' \ ${WRKSRC}/cmd/headscale/cli/dump_config.go \ ${WRKSRC}/cmd/headscale/cli/root.go \ ${WRKSRC}/integration/hsic/hsic.go @${REINPLACE_CMD} -e 's|/var/lib/headscale/db.sqlite|/var/db/${PORTNAME}/db.sqlite|g' \ ${WRKSRC}/config-example.yaml post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} \ ${STAGEDIR}/var/cache/${PORTNAME} \ ${STAGEDIR}/var/db/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/config-example.yaml ${STAGEDIR}${ETCDIR}/config.yaml.sample .include diff --git a/security/lego/Makefile b/security/lego/Makefile index 5b6059fd374a..65c9a04c57e9 100644 --- a/security/lego/Makefile +++ b/security/lego/Makefile @@ -1,43 +1,43 @@ PORTNAME= lego DISTVERSIONPREFIX= v DISTVERSION= 5.3.1 CATEGORIES= security MAINTAINER= matt@matthoran.com COMMENT= Let's Encrypt client and ACME library written in Go WWW= https://github.com/go-acme/lego LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/go-acme/lego/v5 GO_LDFLAGS= -X main.version=${DISTVERSION} SAMPLE_FILES= deploy.sh.sample lego.sh.sample lego.yml.sample SUB_FILES= ${SAMPLE_FILES} 604.lego pkg-message SUB_LIST= LEGO_USER=${LEGO_USER} \ PORTNAME=${PORTNAME} LEGO_USER?= _lego .if ${LEGO_USER} == _lego USERS= ${LEGO_USER} GROUPS= ${LEGO_USER} .endif GROUPS+= www PLIST_SUB= LEGO_USER=${LEGO_USER} PERIODIC_DIRS= etc/periodic/weekly PERIODIC_FILES= 604.lego post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${PERIODIC_DIRS} \ ${STAGEDIR}${PREFIX}/etc/ssl/lego \ ${STAGEDIR}${ETCDIR} \ ${STAGEDIR}${WWWDIR} ${INSTALL_SCRIPT} ${WRKDIR}/${PERIODIC_FILES} ${STAGEDIR}${PREFIX}/${PERIODIC_DIRS} ${INSTALL_SCRIPT} ${SAMPLE_FILES:C|^|${WRKDIR}/|} ${STAGEDIR}${ETCDIR} .include diff --git a/security/nuclei/Makefile b/security/nuclei/Makefile index 741b63e55fb5..a9b857fbafcb 100644 --- a/security/nuclei/Makefile +++ b/security/nuclei/Makefile @@ -1,19 +1,19 @@ PORTNAME= nuclei DISTVERSIONPREFIX= v DISTVERSION= 3.11.0 CATEGORIES= security MAINTAINER= dutra@FreeBSD.org COMMENT= Fast vulnerability scanner WWW= https://github.com/projectdiscovery/nuclei LICENSE= MIT -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/projectdiscovery/nuclei/v3 GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= bin/${PORTNAME} .include diff --git a/security/trufflehog/Makefile b/security/trufflehog/Makefile index 88706f00f92d..ae6e5ce8984e 100644 --- a/security/trufflehog/Makefile +++ b/security/trufflehog/Makefile @@ -1,24 +1,24 @@ PORTNAME= trufflehog DISTVERSIONPREFIX= v DISTVERSION= 3.96.0 CATEGORIES= security MAINTAINER= yuri@FreeBSD.org COMMENT= Find and verify credentials WWW= https://trufflesecurity.com \ https://github.com/trufflesecurity/trufflehog LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv7= compilation fails see details here: https://github.com/trufflesecurity/trufflehog/issues/3791 BROKEN_i386= compilation fails see details here: https://github.com/trufflesecurity/trufflehog/issues/3791 -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/trufflesecurity/trufflehog/v3 #GO_TARGET= ./${PORTNAME} PLIST_FILES= bin/${PORTNAME} .include diff --git a/security/zlint/Makefile b/security/zlint/Makefile index 9f11bf4f5de2..979ac12a7247 100644 --- a/security/zlint/Makefile +++ b/security/zlint/Makefile @@ -1,21 +1,21 @@ PORTNAME= zlint DISTVERSIONPREFIX= v DISTVERSION= 3.7.1 PORTREVISION= 2 CATEGORIES= security www MAINTAINER= yuri@FreeBSD.org COMMENT= X.509 certificate linter WWW= https://github.com/zmap/zlint LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/zmap/zlint/v3 GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= bin/${PORTNAME} .include diff --git a/shells/iris/Makefile b/shells/iris/Makefile index e85cf1f28d3a..53af9b6d3aa7 100644 --- a/shells/iris/Makefile +++ b/shells/iris/Makefile @@ -1,53 +1,53 @@ PORTNAME= iris DISTVERSIONPREFIX= v DISTVERSION= 0.5.2 CATEGORIES= shells MAINTAINER= tagattie@FreeBSD.org COMMENT= Shell auto-completion tool for your terminal WWW= https://github.com/versenilvis/IRIS LICENSE= BSD0CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/versenilvis/iris GO_TARGET= ./cmd/iris GO_LDFLAGS= -w -X github.com/versenilvis/iris/root.Version=${DISTVERSION} PLIST_FILES= bin/${PORTNAME} PORTDOCS= README.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-build-COMPLETIONS-on: @${MKDIR} ${WRKSRC}/completions .for sh in bash fish zsh ${GO_WRKDIR_BIN}/${PORTNAME} completion ${sh} > \ ${WRKSRC}/completions/${PORTNAME}.${sh} .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}/completions/${PORTNAME}.bash \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME} ${INSTALL_DATA} ${GO_WRKSRC}/completions/${PORTNAME}.fish \ ${STAGEDIR}${PREFIX}/share/fish/completions/${PORTNAME}.fish ${INSTALL_DATA} ${GO_WRKSRC}/completions/${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/sysutils/cilium/Makefile b/sysutils/cilium/Makefile index b4843702277f..87d70a6d4f7b 100644 --- a/sysutils/cilium/Makefile +++ b/sysutils/cilium/Makefile @@ -1,24 +1,24 @@ PORTNAME= cilium DISTVERSIONPREFIX= v DISTVERSION= 0.18.8 PORTREVISION= 9 CATEGORIES= sysutils MAINTAINER= dutra@FreeBSD.org COMMENT= Manage Kubernetes clusters running Cilium WWW= https://github.com/cilium/cilium-cli LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/cilium/cilium-cli GO_BUILDFLAGS= -ldflags="\ -X github.com/cilium/cilium/cilium-cli/defaults.CLIVersion=${DISTVERSION}" GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= bin/${PORTNAME} .include diff --git a/sysutils/devtui/Makefile b/sysutils/devtui/Makefile index a16dfaf13afd..5191461905f9 100644 --- a/sysutils/devtui/Makefile +++ b/sysutils/devtui/Makefile @@ -1,23 +1,23 @@ PORTNAME= devtui DISTVERSION= 0.34.2 PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= vidar@karlsen.tech COMMENT= Swiss-army app for developers WWW= https://devtui.com LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules USE_GITHUB= yes GH_ACCOUNT= skatkov GO_MOD_DIST= github GO_MODULE= github.com/skatkov/${PORTNAME} PLIST_FILES= bin/devtui .include diff --git a/sysutils/eksctl/Makefile b/sysutils/eksctl/Makefile index a3731cffabcb..c6735f803c10 100644 --- a/sysutils/eksctl/Makefile +++ b/sysutils/eksctl/Makefile @@ -1,24 +1,24 @@ PORTNAME= eksctl PORTVERSION= 0.226.0 DISTVERSIONPREFIX= v PORTREVISION= 3 CATEGORIES= sysutils MAINTAINER= danilo@FreeBSD.org COMMENT= CLI for Amazon EKS WWW= https://eksctl.io/ LICENSE= APACHE20 RUN_DEPENDS= kubectl:sysutils/kubectl -USES= go:1.25+,modules +USES= go:modules PLIST_FILES= bin/${PORTNAME} GO_MODULE= github.com/eksctl-io/${PORTNAME} GO_TARGET= ./cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags="-X github.com/weaveworks/eksctl/pkg/version.gitCommit=ecc59c745095 \ -X github.com/weaveworks/eksctl/pkg/version.buildDate=$$(date +%Y-%m-%dT%H:%M:%SZ)" .include diff --git a/sysutils/elephant/Makefile b/sysutils/elephant/Makefile index 91a34966814f..d4af11292ad1 100644 --- a/sysutils/elephant/Makefile +++ b/sysutils/elephant/Makefile @@ -1,124 +1,124 @@ PORTNAME= elephant DISTVERSIONPREFIX= v DISTVERSION= 2.22.0 CATEGORIES= sysutils MAINTAINER= tagattie@FreeBSD.org COMMENT= Powerful data provider service and backend for application launchers WWW= https://github.com/abenz1267/elephant LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= aarch64 armv7 i386 NOT_FOR_ARCHS_REASON= -buildmode=plugin is not supported on these architectures -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/abenz1267/elephant/v2 GO_TARGET= ./cmd/elephant PLIST_FILES= bin/${PORTNAME} PORTDOCS= README.md OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= ${OPTIONS_GROUP_PROVIDERS:NNIRIACTIONS:NNIRISESSIONS} OPTIONS_GROUP= PROVIDERS OPTIONS_GROUP_PROVIDERS=1PASSWORD BITWARDEN BOOKMARKS CALC CLIPBOARD \ DESKTOPAPPLICATIONS FILES MENUS NIRIACTIONS \ NIRISESSIONS PLAYERCTL PROVIDERLIST RUNNER SNIPPETS \ SYMBOLS TODO UNICODE WEBSEARCH WINDOWS WIREPLUMBER PROVIDERS_DESC= Enabled providers 1PASSWORD_DESC= Access your 1Password vaults BITWARDEN_DESC= Access your Bitwarden vault BOOKMARKS_DESC= URL bookmark manager CALC_DESC= Perform calculation and unit-conversions CLIPBOARD_DESC= Store clipboard history DESKTOPAPPLICATIONS_DESC=Run installed desktop applications FILES_DESC= Find files/folders MENUS_DESC= Create custom menus NIRIACTIONS_DESC= Search and execute Niri actions NIRISESSIONS_DESC= Create predefined session layouts and open them PROVIDERLIST_DESC= Lists all providers and configured menus PLAYERCTL_DESC= Control media/audio players with playerctl RUNNER_DESC= Execute everything installed in your PATH SNIPPETS_DESC= Create and access text snippets SYMBOLS_DESC= Search for emojis and symbols TODO_DESC= Basic Todolist UNICODE_DESC= Search for unicode symbols WEBSEARCH_DESC= Search web with custom defined search engines WINDOWS_DESC= Find and focus opened windows WIREPLUMBER_DESC= Configure audio devices via Pipewire/Wireplumber 1PASSWORD_RUN_DEPENDS= op:security/1password-client2 1PASSWORD_PLIST_FILES= etc/xdg/elephant/providers/1password.so BITWARDEN_RUN_DEPENDS= rbw:security/rbw \ wl-copy:x11/wl-clipboard \ wtype:x11/wtype BITWARDEN_PLIST_FILES= etc/xdg/elephant/providers/bitwarden.so BOOKMARKS_RUN_DEPENDS= jq:textproc/jq BOOKMARKS_USES= sqlite BOOKMARKS_PLIST_FILES= etc/xdg/elephant/providers/bookmarks.so CALC_RUN_DEPENDS= qalc:math/libqalculate \ wl-copy:x11/wl-clipboard CALC_PLIST_FILES= etc/xdg/elephant/providers/calc.so CLIPBOARD_RUN_DEPENDS= wl-copy:x11/wl-clipboard CLIPBOARD_USES= magick:run CLIPBOARD_PLIST_FILES= etc/xdg/elephant/providers/clipboard.so DESKTOPAPPLICATIONS_PLIST_FILES=etc/xdg/elephant/providers/desktopapplications.so FILES_RUN_DEPENDS= fd:sysutils/fd FILES_PLIST_FILES= etc/xdg/elephant/providers/files.so MENUS_PLIST_FILES= etc/xdg/elephant/providers/menus.so NIRIACTIONS_RUN_DEPENDS=niri:x11-wm/niri NIRIACTIONS_PLIST_FILES=etc/xdg/elephant/providers/niriactions.so NIRISESSIONS_RUN_DEPENDS=niri:x11-wm/niri NIRISESSIONS_PLIST_FILES=etc/xdg/elephant/providers/nirisessions.so PLAYERCTL_RUN_DEPENDS= playerctl:multimedia/playerctl PLAYERCTL_PLIST_FILES= etc/xdg/elephant/providers/playerctl.so PROVIDERLIST_PLIST_FILES=etc/xdg/elephant/providers/providerlist.so RUNNER_PLIST_FILES= etc/xdg/elephant/providers/runner.so SNIPPETS_RUN_DEPENDS= wtype:x11/wtype SNIPPETS_PLIST_FILES= etc/xdg/elephant/providers/snippets.so SYMBOLS_RUN_DEPENDS= wl-copy:x11/wl-clipboard SYMBOLS_PLIST_FILES= etc/xdg/elephant/providers/symbols.so TODO_RUN_DEPENDS= notify-send:devel/libnotify TODO_PLIST_FILES= etc/xdg/elephant/providers/todo.so UNICODE_RUN_DEPENDS= wl-copy:x11/wl-clipboard UNICODE_PLIST_FILES= etc/xdg/elephant/providers/unicode.so WEBSEARCH_PLIST_FILES= etc/xdg/elephant/providers/websearch.so WINDOWS_LIB_DEPENDS= libwayland-client.so:graphics/wayland WINDOWS_PLIST_FILES= etc/xdg/elephant/providers/windows.so WIREPLUMBER_RUN_DEPENDS=wireplumber:multimedia/wireplumber WIREPLUMBER_PLIST_FILES=etc/xdg/elephant/providers/wireplumber.so .include ENABLED_PROVIDERS= ${SELECTED_OPTIONS:NDOCS:tl} post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; \ s|/run/user|/var&|' \ ${GO_WRKSRC}/vendor/github.com/adrg/xdg/paths_unix.go post-build: .for provider in ${ENABLED_PROVIDERS} @${ECHO_MSG} "===> Building ${provider} from ./internal/providers/${provider}" @cd ${GO_WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${GO_ENV} \ GOMAXPROCS=${MAKE_JOBS_NUMBER} GOPROXY=off \ ${GO_CMD} build ${GO_BUILDFLAGS:C/-buildmode=.*//} -buildmode=plugin \ -o ${GO_WRKDIR_BIN}/${provider}.so \ ./internal/providers/${provider} .endfor post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/elephant/providers ${INSTALL_LIB} ${GO_WRKDIR_BIN}/*.so \ ${STAGEDIR}${PREFIX}/etc/xdg/elephant/providers post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/sysutils/f2/Makefile b/sysutils/f2/Makefile index 4692cd25ec3c..3110423a3795 100644 --- a/sysutils/f2/Makefile +++ b/sysutils/f2/Makefile @@ -1,22 +1,22 @@ PORTNAME= f2 DISTVERSIONPREFIX= v DISTVERSION= 2.2.2 PORTREVISION= 8 CATEGORIES= sysutils MAINTAINER= yuri@FreeBSD.org COMMENT= Command-line tool for batch renaming files and directories WWW= https://f2.freshman.tech/ \ https://github.com/ayoisaiah/f2 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENCE -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/ayoisaiah/f2/v2 GO_TARGET= ./cmd/f2 PLIST_FILES= bin/${PORTNAME} .include diff --git a/sysutils/gdu/Makefile b/sysutils/gdu/Makefile index c7dfec02dc67..d6fee830ff34 100644 --- a/sysutils/gdu/Makefile +++ b/sysutils/gdu/Makefile @@ -1,45 +1,45 @@ PORTNAME= gdu DISTVERSIONPREFIX= v DISTVERSION= 5.36.1 PORTREVISION= 3 CATEGORIES= sysutils MAINTAINER= diizzy@FreeBSD.org COMMENT= Disk usage analyzer with console interface written in Go WWW= https://github.com/dundee/gdu LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/dundee/${PORTNAME}/${DISTVERSIONFULL:R:R} GO_TARGET= ./cmd/${PORTNAME} CONFLICTS_INSTALL= coreutils PLIST_FILES= bin/${PORTNAME} PORTDOCS= README.md OPTIONS_DEFINE= DOCS MANPAGES OPTIONS_DEFAULT= MANPAGES MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz post-patch: @${REINPLACE_CMD} -e '\ s|%%DISTVERSION%%|${DISTVERSION}|g; \ s|%%BUILDTIME%%|${CONFIGURE_TARGET}|g; \ s|%%BUILDUSER%%|portbld|g' \ ${PATCH_WRKSRC}/build/build.go post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} \ ${STAGEDIR}${DOCSDIR} post-install-MANPAGES-on: ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/sysutils/go-wtf/Makefile b/sysutils/go-wtf/Makefile index 404b5d18593e..49ec6b0c91b9 100644 --- a/sysutils/go-wtf/Makefile +++ b/sysutils/go-wtf/Makefile @@ -1,38 +1,38 @@ PORTNAME= wtf DISTVERSIONPREFIX= v DISTVERSION= 0.49.0 PORTREVISION= 5 CATEGORIES= sysutils PKGNAMEPREFIX= go- MAINTAINER= bsd.hsw@gmail.com COMMENT= Personal information dashboard for your terminal WWW= https://wtfutil.com LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE.md -USES= cpe go:1.25+,modules +USES= cpe go:modules GO_MODULE= github.com/wtfutil/wtf GO_BUILDFLAGS= -ldflags "-X main.version=${DISTVERSION}" CPE_VENDOR= wtfutil CONFLICTS= wtf PORTDOCS= README.md OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_SUB= yes post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @${FIND} ${WRKSRC}/_sample_configs -name "*.yml" -exec ${INSTALL_DATA} {} \ ${STAGEDIR}${EXAMPLESDIR}/ \; .include diff --git a/sysutils/helm/Makefile b/sysutils/helm/Makefile index d2c1239004c6..950683330a1f 100644 --- a/sysutils/helm/Makefile +++ b/sysutils/helm/Makefile @@ -1,44 +1,44 @@ PORTNAME= helm PORTVERSION= 3.21.0 PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= danilo@FreeBSD.org COMMENT= Kubernetes Package Manager WWW= https://helm.sh LICENSE= APACHE20 RUN_DEPENDS= kubectl:sysutils/kubectl -USES= cpe go:1.25+,modules tar:xz +USES= cpe go:modules tar:xz GO_MODULE= github.com/${PORTNAME}/${PORTNAME}/v3 GO_PKGNAME= k8s.io/helm GO_BUILDFLAGS= -ldflags="-X helm.sh/helm/v3/internal/version.version=v${PORTVERSION} \ -X helm.sh/helm/v3/internal/version.gitCommit=e0878d41b711792be60777fd65ad23a101e6b85f" GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= ${GO_TARGET:C/.\/cmd/bin/} OPTIONS_DEFINE= BASH FISH ZSH OPTIONS_DEFAULT= BASH FISH ZSH BASH_PLIST_FILES= share/bash-completion/completions/helm FISH_PLIST_FILES= share/fish/vendor_functions.d/helm.fish ZSH_PLIST_FILES= share/zsh/site-functions/_helm post-install-BASH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions ${STAGEDIR}${PREFIX}/bin/helm completion bash > ${STAGEDIR}${PREFIX}/share/bash-completion/completions/helm post-install-FISH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/vendor_functions.d ${STAGEDIR}${PREFIX}/bin/helm completion fish > ${STAGEDIR}${PREFIX}/share/fish/vendor_functions.d/helm.fish post-install-ZSH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${STAGEDIR}${PREFIX}/bin/helm completion zsh > ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_helm .include diff --git a/sysutils/helmfile/Makefile b/sysutils/helmfile/Makefile index 54704a6ee188..8178cc381a6c 100644 --- a/sysutils/helmfile/Makefile +++ b/sysutils/helmfile/Makefile @@ -1,21 +1,21 @@ PORTNAME= helmfile DISTVERSIONPREFIX= v DISTVERSION= 1.2.3 PORTREVISION= 7 CATEGORIES= sysutils MAINTAINER= timp87@gmail.com COMMENT= Helmfile is a declarative spec for deploying helm charts WWW= https://github.com/helmfile/helmfile LICENSE= MIT RUN_DEPENDS= helm:sysutils/helm -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/${PORTNAME}/${PORTNAME} GO_BUILDFLAGS= -ldflags="-X go.szostok.io/version.version=v${DISTVERSION}" PLIST_FILES= bin/${PORTNAME} .include diff --git a/sysutils/incus-client/Makefile b/sysutils/incus-client/Makefile index 35b728b860f0..eaf27eded0f0 100644 --- a/sysutils/incus-client/Makefile +++ b/sysutils/incus-client/Makefile @@ -1,21 +1,21 @@ PORTNAME= incus-client PORTVERSION= 7.0.0 PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= danilo@FreeBSD.org COMMENT= Incus command-line client WWW= https://github.com/lxc/incus LICENSE= APACHE20 -USES= cpe go:1.25+,modules +USES= cpe go:modules CPE_PRODUCT= incus GO_MODULE= github.com/lxc/incus/v7 GO_TARGET= ./cmd/incus PLIST_FILES= bin/incus .include diff --git a/sysutils/k9s/Makefile b/sysutils/k9s/Makefile index 91fd7b14b251..4be57fc9c207 100644 --- a/sysutils/k9s/Makefile +++ b/sysutils/k9s/Makefile @@ -1,25 +1,25 @@ PORTNAME= k9s DISTVERSIONPREFIX= v DISTVERSION= 0.51.0 PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= gogolok@gmail.com COMMENT= Kubernetes command-line tool WWW= https://github.com/derailed/k9s LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/derailed/k9s GO_BUILDFLAGS= -ldflags="-X github.com/derailed/k9s/cmd.version=${DISTVERSIONFULL} \ -X github.com/derailed/k9s/cmd.date=$$(date +'%Y-%m-%dT%H:%M:%SZ') \ -X github.com/derailed/k9s/cmd.commit=558caafe7ba067467de46b320cc22ef11fef9c34" PLIST_FILES= bin/${PORTNAME} .include diff --git a/sysutils/kops/Makefile b/sysutils/kops/Makefile index dbde7c352b3b..f45658edb818 100644 --- a/sysutils/kops/Makefile +++ b/sysutils/kops/Makefile @@ -1,33 +1,33 @@ PORTNAME= kops PORTVERSION= 1.35.0 DISTVERSIONPREFIX= v PORTREVISION= 3 CATEGORIES= sysutils MAINTAINER= danilo@FreeBSD.org COMMENT= Kubernetes Operations WWW= https://github.com/kubernetes/kops LICENSE= APACHE20 BROKEN_i386= linking fails: mapping output file failed: cannot allocate memory BUILD_DEPENDS= go-bindata:devel/go-bindata -USES= go:1.25+,modules +USES= go:modules USE_GITHUB= yes GH_ACCOUNT= kubernetes GO_PKGNAME= k8s.io/${PORTNAME} GO_TARGET= ${GO_PKGNAME}/cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags=all="-X k8s.io/kops.Version=${PORTVERSION}" PLIST_FILES= bin/${PORTNAME} pre-build: cd ${WRKSRC} && \ ${LOCALBASE}/bin/go-bindata -o upup/models/bindata.go -pkg models \ -prefix upup/models/ upup/models/... .include diff --git a/sysutils/nomad-driver-podman/Makefile b/sysutils/nomad-driver-podman/Makefile index 471adaf4f52b..4f9217d229ba 100644 --- a/sysutils/nomad-driver-podman/Makefile +++ b/sysutils/nomad-driver-podman/Makefile @@ -1,24 +1,24 @@ PORTNAME= nomad-driver-podman DISTVERSIONPREFIX= v DISTVERSION= 0.6.4 PORTREVISION= 7 CATEGORIES= sysutils MAINTAINER= grembo@FreeBSD.org COMMENT= Nomad driver to support podman WWW= https://www.nomadproject.io LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= nomad:sysutils/nomad \ podman:sysutils/podman -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/hashicorp/nomad-driver-podman GO_TARGET= :${PREFIX}/libexec/nomad/plugins/nomad-driver-podman SUB_FILES= pkg-message PLIST_FILES= ${PREFIX}/libexec/nomad/plugins/nomad-driver-podman .include diff --git a/sysutils/podman/Makefile b/sysutils/podman/Makefile index d1c721a5a781..4335864bcd68 100644 --- a/sysutils/podman/Makefile +++ b/sysutils/podman/Makefile @@ -1,35 +1,35 @@ PORTNAME= podman DISTVERSIONPREFIX= v DISTVERSION= 5.8.4 PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= dfr@FreeBSD.org COMMENT= Manage Pods, Containers and Container Images WWW= https://podman.io/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= bash:shells/bash \ ggrep:textproc/gnugrep \ go-md2man:textproc/go-md2man \ gsed:textproc/gsed LIB_DEPENDS= libgpgme.so:security/gpgme RUN_DEPENDS= conmon:sysutils/conmon \ containernetworking-plugins>=0:net/containernetworking-plugins \ containers-common>=0:sysutils/containers-common \ ocijail:sysutils/ocijail -USES= gmake go:1.25+,no_targets pkgconfig python:build shebangfix +USES= gmake go:no_targets pkgconfig python:build shebangfix USE_GITHUB= yes GH_ACCOUNT= containers USE_RC_SUBR= podman podman_service SHEBANG_FILES= ${WRKSRC}/hack/markdown-preprocess MAKE_ARGS= SHELL=${LOCALBASE}/bin/bash MAKE_ENV+= GOTOOLCHAIN=local INSTALL_TARGET= install install.completions .include diff --git a/sysutils/serf/Makefile b/sysutils/serf/Makefile index d301177057a5..b342dc04226a 100644 --- a/sysutils/serf/Makefile +++ b/sysutils/serf/Makefile @@ -1,25 +1,25 @@ PORTNAME= serf DISTVERSIONPREFIX= v DISTVERSION= 0.10.4 PORTREVISION= 1 CATEGORIES= sysutils PKGNAMEPREFIX= hashicorp- MAINTAINER= bofh@FreeBSD.org COMMENT= Service discovery and configuration made easy WWW= https://www.serf.io/ LICENSE= MPL20 -USES= go:1.25+,modules +USES= go:modules USE_RC_SUBR= serf GO_MODULE= github.com/hashicorp/serf GO_TARGET= ./cmd/${PORTNAME} USERS= serf GROUPS= serf PLIST_FILES= bin/serf .include diff --git a/sysutils/terraform/Makefile b/sysutils/terraform/Makefile index 41a8f5064c57..8990a68aba90 100644 --- a/sysutils/terraform/Makefile +++ b/sysutils/terraform/Makefile @@ -1,49 +1,49 @@ PORTNAME= terraform DISTVERSIONPREFIX= v DISTVERSION= 1.15.3 PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod DISTFILES= ${DISTVERSIONFULL}${EXTRACT_SUFX} \ go.mod:gomod \ internal/backend/remote-state/azure/go.mod:gomod \ internal/backend/remote-state/consul/go.mod:gomod \ internal/backend/remote-state/cos/go.mod:gomod \ internal/backend/remote-state/gcs/go.mod:gomod \ internal/backend/remote-state/kubernetes/go.mod:gomod \ internal/backend/remote-state/oci/go.mod:gomod \ internal/backend/remote-state/oss/go.mod:gomod \ internal/backend/remote-state/pg/go.mod:gomod \ internal/backend/remote-state/s3/go.mod:gomod \ internal/legacy/go.mod:gomod EXTRACT_ONLY= ${DISTFILES:N*.mod\:*:N*.mod:C/:.*//:Ngo.work} MAINTAINER= dutra@FreeBSD.org COMMENT= Provides a common configuration to launch infrastructure WWW= https://terraform.io/ -USES= cpe go:1.25+,modules +USES= cpe go:modules USE_GITHUB= yes GH_ACCOUNT= hashicorp GH_PROJECT= terraform LICENSE_NAME= Business Source License 1.1 LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror pkg-mirror pkg-sell auto-accept CPE_VENDOR= hashicorp GO_MODULE= github.com/hashicorp/terraform GO_BUILDFLAGS= -ldflags="-X github.com/hashicorp/terraform/version.dev=no" # Disable some master port targets TARGET_ORDER_OVERRIDE= -1:go-post-extract post-extract: @${ECHO_MSG} "===> Tidying ${GO_MODNAME} dependencies"; @(cd ${GO_WRKSRC}; ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=${GO_MODCACHE} ${GO_CMD} mod tidy) @${ECHO_MSG} "===> Vendoring ${GO_MODNAME} dependencies"; @(cd ${GO_WRKSRC}; ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=${GO_MODCACHE} ${GO_CMD} mod vendor) PLIST_FILES= bin/${PORTNAME} .include diff --git a/sysutils/witr/Makefile b/sysutils/witr/Makefile index 4d8f01f43684..28454367b3f2 100644 --- a/sysutils/witr/Makefile +++ b/sysutils/witr/Makefile @@ -1,71 +1,71 @@ PORTNAME= witr DISTVERSIONPREFIX= v DISTVERSION= 0.3.3 PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= gaod@hychen.org COMMENT= Witr (why-is-this-running) WWW= https://github.com/pranshuparmar/witr LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules USE_GITHUB= yes GH_ACCOUNT= pranshuparmar GH_PROJECT= witr GH_TUPLE= \ atotto:clipboard:v0.1.4:atotto_clipboard/vendor/github.com/atotto/clipboard \ aymanbagabas:go-osc52:v2.0.1:aymanbagabas_go_osc52_v2/vendor/github.com/aymanbagabas/go-osc52/v2 \ charmbracelet:bubbles:v1.0.0:charmbracelet_bubbles/vendor/github.com/charmbracelet/bubbles \ charmbracelet:bubbletea:v1.3.10:charmbracelet_bubbletea/vendor/github.com/charmbracelet/bubbletea \ charmbracelet:colorprofile:v0.4.1:charmbracelet_colorprofile/vendor/github.com/charmbracelet/colorprofile \ charmbracelet:lipgloss:v1.1.0:charmbracelet_lipgloss/vendor/github.com/charmbracelet/lipgloss \ charmbracelet:x:ansi/v0.11.6:charmbracelet_x_ansi \ charmbracelet:x:cellbuf/v0.0.15:charmbracelet_x_cellbuf \ charmbracelet:x:term/v0.2.2:charmbracelet_x_term/vendor/github.com/charmbracelet/x \ clipperhouse:displaywidth:v0.9.0:clipperhouse_displaywidth/vendor/github.com/clipperhouse/displaywidth \ clipperhouse:stringish:v0.1.1:clipperhouse_stringish/vendor/github.com/clipperhouse/stringish \ clipperhouse:uax29:v2.5.0:clipperhouse_uax29_v2/vendor/github.com/clipperhouse/uax29/v2 \ coreos:go-systemd:v22.7.0:coreos_go_systemd_v22/vendor/github.com/coreos/go-systemd/v22 \ cpuguy83:go-md2man:v2.0.7:cpuguy83_go_md2man_v2/vendor/github.com/cpuguy83/go-md2man/v2 \ erikgeiser:coninput:1c3628e74d0f:erikgeiser_coninput/vendor/github.com/erikgeiser/coninput \ godbus:dbus:v5.1.0:godbus_dbus_v5/vendor/github.com/godbus/dbus/v5 \ golang:sys:v0.38.0:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.3.8:golang_text/vendor/golang.org/x/text \ inconshreveable:mousetrap:v1.1.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ lucasb-eyer:go-colorful:v1.3.0:lucasb_eyer_go_colorful/vendor/github.com/lucasb-eyer/go-colorful \ mattn:go-isatty:v0.0.20:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ mattn:go-localereader:v0.0.1:mattn_go_localereader/vendor/github.com/mattn/go-localereader \ mattn:go-runewidth:v0.0.19:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ muesli:ansi:276c6243b2f6:muesli_ansi/vendor/github.com/muesli/ansi \ muesli:cancelreader:v0.2.2:muesli_cancelreader/vendor/github.com/muesli/cancelreader \ muesli:reflow:83f637991171:muesli_reflow/vendor/github.com/muesli/reflow \ muesli:termenv:v0.16.0:muesli_termenv/vendor/github.com/muesli/termenv \ rivo:uniseg:v0.4.7:rivo_uniseg/vendor/github.com/rivo/uniseg \ russross:blackfriday:v2.1.0:russross_blackfriday_v2/vendor/github.com/russross/blackfriday/v2 \ spf13:cobra:v1.10.2:spf13_cobra/vendor/github.com/spf13/cobra \ spf13:pflag:v1.0.10:spf13_pflag/vendor/github.com/spf13/pflag \ xo:terminfo:abceb7e1c41e:xo_terminfo/vendor/github.com/xo/terminfo \ yaml:go-yaml:v3.0.4:yaml_go_yaml/vendor/go.yaml.in/yaml/v3 GO_TARGET= ./cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags "\ -X main.version=${DISTVERSIONPREFIX}${DISTVERSION} \ -X main.commit=${DISTVERSIONPREFIX}${DISTVERSION} \ -X main.buildDate=2026-06-24" PLIST_FILES= bin/witr \ share/man/man1/witr.1.gz post-extract: @${RM} -r ${WRKSRC}/vendor/github.com/charmbracelet/x/ansi @${RLN} ${WRKSRC_charmbracelet_x_ansi}/ansi ${WRKSRC}/vendor/github.com/charmbracelet/x/ansi @${RM} -r ${WRKSRC}/vendor/github.com/charmbracelet/x/cellbuf @${RLN} ${WRKSRC_charmbracelet_x_cellbuf}/cellbuf ${WRKSRC}/vendor/github.com/charmbracelet/x/cellbuf do-install: ${INSTALL_PROGRAM} ${WRKDIR}/bin/witr ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/docs/cli/witr.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include diff --git a/textproc/ov/Makefile b/textproc/ov/Makefile index 67fc89d7f6ef..8beff523bb89 100644 --- a/textproc/ov/Makefile +++ b/textproc/ov/Makefile @@ -1,41 +1,41 @@ PORTNAME= ov DISTVERSIONPREFIX= v DISTVERSION= 0.54.0 CATEGORIES= textproc MAINTAINER= tagattie@FreeBSD.org COMMENT= Feature rich terminal pager WWW= https://github.com/noborus/ov LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules _BUILD_VERSION= ${DISTVERSION} _BUILD_REVISION= 0a791c8 GO_MODULE= github.com/noborus/${PORTNAME} GO_LDFLAGS= -w \ -X main.Version=${_BUILD_VERSION} \ -X main.Revision=${_BUILD_REVISION} PLIST_FILES= bin/${PORTNAME} PORTDOCS= README.md PORTEXAMPLES= ${PORTNAME}-disable-default.yaml \ ${PORTNAME}-less.yaml \ ${PORTNAME}.yaml OPTIONS_DEFINE= DOCS EXAMPLES post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} \ ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/textproc/peco/Makefile b/textproc/peco/Makefile index 393049d66576..234f4e960989 100644 --- a/textproc/peco/Makefile +++ b/textproc/peco/Makefile @@ -1,28 +1,28 @@ PORTNAME= peco DISTVERSIONPREFIX= v DISTVERSION= 0.6.0 PORTREVISION= 5 CATEGORIES= textproc MAINTAINER= tagattie@FreeBSD.org COMMENT= Simplistic interactive filtering tool WWW= https://github.com/peco/peco LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules GO_MODULE= github.com/peco/peco GO_TARGET= ./cmd/peco PLIST_FILES= bin/${PORTNAME} PORTDOCS= Changes README.md OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/textproc/vale/Makefile b/textproc/vale/Makefile index 1e2d1fce9c15..e45239c33700 100644 --- a/textproc/vale/Makefile +++ b/textproc/vale/Makefile @@ -1,21 +1,21 @@ PORTNAME= vale DISTVERSIONPREFIX= v DISTVERSION= 3.17.0 CATEGORIES= textproc MAINTAINER= bofh@FreeBSD.org COMMENT= Command-line tool that brings editorial style guide to life WWW= https://vale.sh/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules GO_BUILDFLAGS+= -ldflags="-s -w -X main.Version=${DISTVERSION}" GO_MODULE= github.com/errata-ai/${PORTNAME}/v3 GO_TARGET= ./cmd/vale PLIST_FILES= bin/vale .include diff --git a/www/caddy/Makefile b/www/caddy/Makefile index 53790ddc77e1..71109832eb84 100644 --- a/www/caddy/Makefile +++ b/www/caddy/Makefile @@ -1,36 +1,36 @@ PORTNAME= caddy DISTVERSIONPREFIX= v DISTVERSION= 2.11.4 PORTREVISION= 1 CATEGORIES= www DIST_SUBDIR= caddy MAINTAINER= adamw@FreeBSD.org COMMENT= Fast, highly configurable HTTP/1-2-3 web server with automatic TLS WWW= https://caddyserver.com LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cpe go:1.25+,modules +USES= cpe go:modules CPE_VENDOR= caddyserver USE_RC_SUBR= caddy GO_MODULE= github.com/caddyserver/caddy/v2 GO_TARGET= ./cmd/caddy GO_BUILDFLAGS+= -ldflags='-X github.com/caddyserver/caddy/v2.CustomVersion=${DISTVERSIONFULL}' CONFLICTS_INSTALL= caddy-custom SUB_FILES= Caddyfile.sample caddy pkg-message USERS= www GROUPS= www PLIST_FILES= bin/${PORTNAME} \ "@sample ${ETCDIR_REL}/Caddyfile.sample" post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKDIR}/Caddyfile.sample ${STAGEDIR}${ETCDIR} .include diff --git a/www/filebrowser-quantum/Makefile b/www/filebrowser-quantum/Makefile index 071c8a1b7465..0afc39c490ac 100644 --- a/www/filebrowser-quantum/Makefile +++ b/www/filebrowser-quantum/Makefile @@ -1,71 +1,71 @@ PORTNAME= filebrowser-quantum DISTVERSIONPREFIX= v DISTVERSION= 1.5.0 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/ # For instructions on how to create assets: # https://github.com/DtxdF/port-assets-makejails/tree/main/filebrowser-quantum DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}-${FILEBROWSER_QUANTUM_CHANNEL}.frontend${EXTRACT_SUFX} \ ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}-${FILEBROWSER_QUANTUM_CHANNEL}.vendor${EXTRACT_SUFX} MAINTAINER= dtxdf@FreeBSD.org COMMENT= Web File Browser WWW= https://filebrowserquantum.com \ https://github.com/gtsteffaniak/filebrowser LICENSE= APACHE20 ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 -USES= go:1.25+,modules +USES= go:modules USE_GITHUB= yes GH_ACCOUNT= gtsteffaniak GH_PROJECT= filebrowser GH_TAGNAME= ${DISTVERSIONPREFIX}${DISTVERSION}-${FILEBROWSER_QUANTUM_CHANNEL} USE_RC_SUBR= ${PORTNAME} GO_TARGET= ./main.go:${PORTNAME} GO_BUILDFLAGS= -ldflags "\ -X 'github.com/gtsteffaniak/filebrowser/backend/common/version.Version=${DISTVERSIONPREFIX}${DISTVERSION}-${FILEBROWSER_QUANTUM_CHANNEL}' \ -X 'github.com/gtsteffaniak/filebrowser/backend/common/version.CommitSHA=${GITID}'" SUB_FILES= ${PORTNAME}.yaml SUB_LIST= USER=${FILEBROWSER_QUANTUM_USER} WRKSRC_SUBDIR= backend PLIST_SUB= GROUP=${FILEBROWSER_QUANTUM_USER} \ USER=${FILEBROWSER_QUANTUM_GROUP} OPTIONS_DEFINE= FFMPEG OPTIONS_DEFAULT= FFMPEG FFMPEG_DESC= Enable video thumbnail generation support FFMPEG_RUN_DEPENDS= ffmpeg>=0:multimedia/ffmpeg # Run 'git checkout ${DISTVERSIONPREFIX}${DISTVERSION}-${FILEBROWSER_QUANTUM_CHANNEL} && git rev-parse HEAD' # in the FileBrowser Quantum repository to get the value of GITID. GITID= 79552f8 FILEBROWSER_QUANTUM_USER= www FILEBROWSER_QUANTUM_GROUP= ${FILEBROWSER_QUANTUM_USER} FILEBROWSER_QUANTUM_CHANNEL= stable post-extract: @${MKDIR} ${WRKSRC}/vendor @cd ${WRKDIR}/filebrowser-quantum-vendor && ${COPYTREE_SHARE} . ${WRKSRC}/vendor @${MKDIR} ${WRKSRC}/http/embed @cd ${WRKDIR}/filebrowser-quantum-frontend && ${COPYTREE_SHARE} . ${WRKSRC}/http/embed post-install: @${MKDIR} ${STAGEDIR}/var/db/${PORTNAME} @${MKDIR} ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.yaml ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.yaml.sample @${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d ${INSTALL_DATA} ${FILESDIR}/newsyslog.conf ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/${PORTNAME}.conf.sample .include diff --git a/www/nginx-prometheus-exporter/Makefile b/www/nginx-prometheus-exporter/Makefile index f27401118997..c2a46b38c761 100644 --- a/www/nginx-prometheus-exporter/Makefile +++ b/www/nginx-prometheus-exporter/Makefile @@ -1,25 +1,25 @@ PORTNAME= nginx-prometheus-exporter DISTVERSIONPREFIX= v DISTVERSION= 1.5.1 PORTREVISION= 8 CATEGORIES= www MAINTAINER= arcade@b1t.name COMMENT= Prometheus exporter for NGINX and NGINX Plus stats WWW= https://github.com/nginxinc/nginx-prometheus-exporter LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25+,modules +USES= go:modules USE_RC_SUBR= ${PORTNAME} GO_MODULE= github.com/nginxinc/nginx-prometheus-exporter GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}" LD_FLAG_X_PREFIX= -X main LD_FLAG_STRING= ${STRIP} ${LD_FLAG_X_PREFIX}.version=${DISTVERSION} PLIST_FILES= bin/${PORTNAME} .include diff --git a/www/remark42/Makefile b/www/remark42/Makefile index 5240a3dc3978..f1a98ed117cf 100644 --- a/www/remark42/Makefile +++ b/www/remark42/Makefile @@ -1,133 +1,133 @@ PORTNAME= remark42 DISTVERSIONPREFIX= v DISTVERSION= 1.16.4 CATEGORIES= www MASTER_SITES= LOCAL/delphij:npmcache DISTFILES= ${PORTNAME}-npm-cache-${DISTVERSION}${EXTRACT_SUFX}:npmcache MAINTAINER= delphij@FreeBSD.org COMMENT= Privacy-focused lightweight commenting engine WWW= https://remark42.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS+= npm-node24>0:www/npm-node24 -USES= cpe go:1.25+,modules tar:xz +USES= cpe go:modules tar:xz GO_BUILDFLAGS= -ldflags "-s -w -X main.revision=${DISTVERSION}" GO_TARGET= app:${PREFIX}/libexec/${PORTNAME} GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}/backend LD_FLAG_X_PREFIX= -X ${GO_PKGNAME}/version MAKE_ENV+= npm_config_offline=true \ COREPACK_ENABLE_STRICT=0 USE_RC_SUBR= ${PORTNAME} USE_GITHUB= yes GH_ACCOUNT= umputun PLIST_FILES= libexec/${PORTNAME} GH_TUPLE= \ Depado:bfchroma:v2.0.0:depado_bfchroma_v2/vendor/github.com/Depado/bfchroma/v2 \ PuerkitoBio:goquery:v1.12.0:puerkitobio_goquery/vendor/github.com/PuerkitoBio/goquery \ alecthomas:chroma:v2.27.0:alecthomas_chroma_v2/vendor/github.com/alecthomas/chroma/v2 \ andybalholm:cascadia:v1.3.4:andybalholm_cascadia/vendor/github.com/andybalholm/cascadia \ aymerick:douceur:v0.2.0:aymerick_douceur/vendor/github.com/aymerick/douceur \ cespare:xxhash:v2.3.0:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ dghubble:oauth1:v0.7.3:dghubble_oauth1/vendor/github.com/dghubble/oauth1 \ didip:tollbooth:v8.0.1:didip_tollbooth_v8/vendor/github.com/didip/tollbooth/v8 \ dlclark:regexp2:v2.2.2:dlclark_regexp2_v2/vendor/github.com/dlclark/regexp2/v2 \ etcd-io:bbolt:v1.5.0:etcd_io_bbolt/vendor/go.etcd.io/bbolt \ go-oauth2:oauth2:v4.5.4:go_oauth2_oauth2_v4/vendor/github.com/go-oauth2/oauth2/v4 \ go-pkgz:auth:v2.1.5:go_pkgz_auth_v2/vendor/github.com/go-pkgz/auth \ go-pkgz:email:v0.6.0:go_pkgz_email/vendor/github.com/go-pkgz/email \ go-pkgz:expirable-cache:v3.1.0:go_pkgz_expirable_cache_v3/vendor/github.com/go-pkgz/expirable-cache \ go-pkgz:jrpc:v0.4.0:go_pkgz_jrpc/vendor/github.com/go-pkgz/jrpc \ go-pkgz:lcw:v2.0.0:go_pkgz_lcw_v2/vendor/github.com/go-pkgz/lcw \ go-pkgz:lgr:v0.12.3:go_pkgz_lgr/vendor/github.com/go-pkgz/lgr \ go-pkgz:notify:v1.3.0:go_pkgz_notify/vendor/github.com/go-pkgz/notify \ go-pkgz:repeater:v1.2.0:go_pkgz_repeater/vendor/github.com/go-pkgz/repeater \ go-pkgz:repeater:v2.2.0:go_pkgz_repeater_v2/vendor/github.com/go-pkgz/repeater/v2 \ go-pkgz:rest:v1.22.0:go_pkgz_rest/vendor/github.com/go-pkgz/rest \ go-pkgz:routegroup:v1.6.0:go_pkgz_routegroup/vendor/github.com/go-pkgz/routegroup \ go-pkgz:syncs:v1.3.2:go_pkgz_syncs/vendor/github.com/go-pkgz/syncs \ go-yaml:yaml:v3.0.1:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \ golang-jwt:jwt:v5.3.1:golang_jwt_jwt_v5/vendor/github.com/golang-jwt/jwt/v5 \ golang:crypto:v0.53.0:golang_crypto/vendor/golang.org/x/crypto \ golang:image:v0.43.0:golang_image/vendor/golang.org/x/image \ golang:net:v0.56.0:golang_net/vendor/golang.org/x/net \ golang:oauth2:v0.36.0:golang_oauth2/vendor/golang.org/x/oauth2 \ golang:snappy:v1.0.0:golang_snappy/vendor/github.com/golang/snappy \ golang:sync:v0.21.0:golang_sync/vendor/golang.org/x/sync \ golang:sys:v0.46.0:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.38.0:golang_text/vendor/golang.org/x/text \ google:uuid:v1.6.0:google_uuid/vendor/github.com/google/uuid \ googleapis:google-cloud-go:v0.9.0:googleapis_google_cloud_go/vendor/cloud.google.com/go/compute/metadata \ gorilla:css:v1.0.1:gorilla_css/vendor/github.com/gorilla/css \ gorilla:feeds:v1.2.0:gorilla_feeds/vendor/github.com/gorilla/feeds \ gorilla:websocket:v1.5.3:gorilla_websocket/vendor/github.com/gorilla/websocket \ hashicorp:errwrap:v1.1.0:hashicorp_errwrap/vendor/github.com/hashicorp/errwrap \ hashicorp:go-multierror:v1.1.1:hashicorp_go_multierror/vendor/github.com/hashicorp/go-multierror \ hashicorp:golang-lru:v2.0.7:hashicorp_golang_lru_v2/vendor/github.com/hashicorp/golang-lru/v2 \ jessevdk:go-flags:v1.6.1:jessevdk_go_flags/vendor/github.com/jessevdk/go-flags \ klauspost:compress:v1.18.7:klauspost_compress/vendor/github.com/klauspost/compress \ kyokomi:emoji:v2.2.13:kyokomi_emoji_v2/vendor/github.com/kyokomi/emoji/v2 \ microcosm-cc:bluemonday:v1.0.27:microcosm_cc_bluemonday/vendor/github.com/microcosm-cc/bluemonday \ mongodb:mongo-go-driver:v1.17.9:mongodb_mongo_go_driver/vendor/go.mongodb.org/mongo-driver \ montanaflynn:stats:v0.9.0:montanaflynn_stats/vendor/github.com/montanaflynn/stats \ pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ redis:go-redis:v9.21.0:redis_go_redis_v9/vendor/github.com/redis/go-redis/v9 \ rrivera:identicon:d5ba35832c0d:rrivera_identicon/vendor/github.com/rrivera/identicon \ rs:xid:v1.6.0:rs_xid/vendor/github.com/rs/xid \ russross:blackfriday:v2.1.0:russross_blackfriday_v2/vendor/github.com/russross/blackfriday/v2 \ skip2:go-qrcode:da1b6568686e:skip2_go_qrcode/vendor/github.com/skip2/go-qrcode \ slack-go:slack:v0.27.0:slack_go_slack/vendor/github.com/slack-go/slack \ stretchr:testify:v1.11.1:stretchr_testify/vendor/github.com/stretchr/testify \ uber-go:atomic:v1.11.0:uber_go_atomic/vendor/go.uber.org/atomic \ uber-go:goleak:v1.3.0:uber_go_goleak/vendor/go.uber.org/goleak \ xdg-go:pbkdf2:v1.0.0:xdg_go_pbkdf2/vendor/github.com/xdg-go/pbkdf2 \ xdg-go:scram:v1.2.0:xdg_go_scram/vendor/github.com/xdg-go/scram \ xdg-go:stringprep:v1.0.4:xdg_go_stringprep/vendor/github.com/xdg-go/stringprep \ youmark:pkcs8:a2c0da244d78:youmark_pkcs8/vendor/github.com/youmark/pkcs8 REMARK_PIDDIR= /var/run/${PORTNAME}/ REMARK_USER?= www REMARK_DATADIR?=/var/db/${PORTNAME} REMARK_URL?= http://127.0.0.1:8080 USE_RC_SUBR= remark SUB_LIST+= REMARK_PIDDIR=${REMARK_PIDDIR} \ REMARK_USER=${REMARK_USER} \ REMARK_DATADIR=${REMARK_DATADIR} # (for maintainer) helper target to generate node_modules tarball make-npm-cache: extract @cd ${WRKDIR} && ${RM} -r .npm @cd ${WRKSRC}/frontend/apps/${PORTNAME} \ && ${SETENV} HOME=${WRKDIR} COREPACK_ENABLE_STRICT=0 npm install --force @cd ${WRKDIR} \ && ${TAR} -cf - --mtime='1970-01-01 00:00Z' --owner=0 --group=0 --numeric-owner ${PORTNAME}-npm-cache-${DISTVERSION}${EXTRACT_SUFX} .npm \ ${PORTNAME}-${DISTVERSION}/frontend/apps/remark42/package-lock.json | \ ${XZ_CMD} -v9e > ${PORTNAME}-npm-cache-${DISTVERSION}${EXTRACT_SUFX} \ && ${ECHO} "Please upload the file ${WRKDIR}/${PORTNAME}-npm-cache-${DISTVERSION}${EXTRACT_SUFX}" pre-build: cd ${WRKSRC}/frontend/apps/${PORTNAME} && ${SETENV} HOME=${WRKDIR} npm install --force --legacy-peer-deps cd ${WRKSRC}/frontend/apps/${PORTNAME} && ${SETENV} HOME=${WRKDIR} npm run build ${RM} -r ${WRKSRC}/backend/app/cmd/web/ ${MV} ${WRKSRC}/frontend/apps/remark42/public ${WRKSRC}/backend/app/cmd/web ${FIND} ${WRKSRC}/backend/app/cmd/web -type f \( -name '*.html' -or -name '*.js' -or -name '*.mjs' \) \ -print -exec ${REINPLACE_CMD} -e "s|{% REMARK_URL %}|${REMARK_URL}|g" {} + do-build: cd ${WRKSRC}/backend && ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} build ${GO_BUILDFLAGS} \ -o ${GO_WRKDIR_BIN}/${PORTNAME} ./app .include diff --git a/www/zen/Makefile b/www/zen/Makefile index a7c2c3aa061b..8d8544b557ae 100644 --- a/www/zen/Makefile +++ b/www/zen/Makefile @@ -1,49 +1,49 @@ PORTNAME= zen DISTVERSION= 1.5.0.20260429 PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/:assets # For instructions on how to create assets: # https://github.com/DtxdF/port-assets-makejails/tree/main/zen DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}-${GH_TAGNAME}.frontend${EXTRACT_SUFX}:assets \ ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}-${GH_TAGNAME}.vendor${EXTRACT_SUFX}:assets MAINTAINER= dtxdf@FreeBSD.org COMMENT= Lightweight self-hosted notes application WWW= https://www.sheshbabu.com/zen/ \ https://github.com/sheshbabu/zen LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/license.md -USES= go:1.25+,modules +USES= go:modules USE_GITHUB= yes GH_ACCOUNT= sheshbabu GH_TAGNAME= c8e14d70de7de631cd9d4cda55daccf227283d92 USE_RC_SUBR= ${PORTNAME} GO_BUILDFLAGS= -tags fts5 SUB_LIST= USER=${ZEN_USER} PLIST_SUB= GROUP=${ZEN_USER} \ USER=${ZEN_GROUP} PLIST_FILES= bin/${PORTNAME} \ "@dir(${ZEN_USER},${ZEN_GROUP},) /var/db/${PORTNAME}" ZEN_USER= www ZEN_GROUP= ${ZEN_USER} post-extract: @${MKDIR} ${WRKSRC}/vendor @cd ${WRKDIR}/${PORTNAME}-vendor && ${COPYTREE_SHARE} . ${WRKSRC}/vendor @${MKDIR} ${WRKSRC}/assets @cd ${WRKDIR}/${PORTNAME}-frontend && ${COPYTREE_SHARE} . ${WRKSRC}/assets post-install: @${MKDIR} ${STAGEDIR}/var/db/${PORTNAME} .include diff --git a/x11/nwg-drawer/Makefile b/x11/nwg-drawer/Makefile index d90814cfca16..3b6ddeb2cb1b 100644 --- a/x11/nwg-drawer/Makefile +++ b/x11/nwg-drawer/Makefile @@ -1,39 +1,39 @@ PORTNAME= nwg-drawer DISTVERSIONPREFIX= v DISTVERSION= 0.7.5 PORTREVISION= 4 CATEGORIES= x11 wayland MAINTAINER= tagattie@FreeBSD.org COMMENT= Application drawer for wlroots-based Wayland compositors WWW= https://github.com/nwg-piotr/nwg-drawer LICENSE= MIT MPL20 LICENSE_COMB= multi LICENSE_FILE_MIT= ${WRKSRC}/LICENSE LICENSE_FILE_MPL20= ${WRKSRC}/LICENSE-gotk4 LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell RUN_DEPENDS= xdg-open:devel/xdg-utils -USES= gnome go:1.25+,modules pkgconfig +USES= gnome go:modules pkgconfig USE_GNOME= cairo gdkpixbuf gtk30 GO_MODULE= github.com/nwg-piotr/nwg-drawer CGO_LDFLAGS+= -Wl,--as-needed # harfbuzz, freetype2 PLIST_FILES= bin/${PORTNAME} PORTDATA= desktop-directories img *.css post-patch: # Respect PREFIX for *.desktop @${REINPLACE_CMD} -e 's|/usr/share|${DATADIR:H}|' \ ${WRKSRC}/tools.go post-install: # Based on install from WRKSRC/Makefile cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" \ ${STAGEDIR}${DATADIR} .include diff --git a/x11/nwg-look/Makefile b/x11/nwg-look/Makefile index 62900d6e8164..fd69ac5af579 100644 --- a/x11/nwg-look/Makefile +++ b/x11/nwg-look/Makefile @@ -1,38 +1,38 @@ PORTNAME= nwg-look DISTVERSIONPREFIX= v DISTVERSION= 1.1.1 PORTREVISION= 3 CATEGORIES= x11 wayland MAINTAINER= tagattie@FreeBSD.org COMMENT= GTK settings editor adapted to work in the wlroots environment WWW= https://github.com/nwg-piotr/nwg-look LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xcur2png:x11/xcur2png -USES= gnome go:1.25+,modules pkgconfig +USES= gnome go:modules pkgconfig USE_GNOME= cairo gdkpixbuf gtk30 GO_MODULE= github.com/nwg-piotr/nwg-look CGO_LDFLAGS+= -Wl,--as-needed # harfbuzz, freetype2 post-patch: # Respect PREFIX for *.glade and *.desktop @${REINPLACE_CMD} -e 's|/usr/share|${DATADIR:H}|' \ ${WRKSRC}/tools.go post-install: # Based on install from WRKSRC/Makefile @${MKDIR} ${STAGEDIR}${DATADIR}/langs ${INSTALL_DATA} ${WRKSRC}/langs/* ${STAGEDIR}${DATADIR}/langs ${INSTALL_DATA} ${WRKSRC}/stuff/main.glade ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/stuff/*.desktop ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/stuff/*.svg \ ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/x11/waveterm/Makefile b/x11/waveterm/Makefile index 4439b6daec21..49df0f64b63e 100644 --- a/x11/waveterm/Makefile +++ b/x11/waveterm/Makefile @@ -1,111 +1,111 @@ # Notes for port maintainer(s) # # Before copying package.json and package-lock.json to ${PKGJSONSDIR}, # do the following steps: # 1. Add node-addon-api and node-gyp to devDependencies in ${WRKSRC} # $ npm install --save-dev --ignore-scripts node-addon-api node-gyp # This is required for building sharp node module from source. # https://sharp.pixelplumbing.com/install/#building-from-source # 2. Generate package.json and package-lock.json in ${WRKSRC}/tsunami/template # $ cd tsunami/templates && cp package.json.tmpl package.json && npm install --ignore-scripts PORTNAME= waveterm DISTVERSIONPREFIX= v DISTVERSION= 0.14.5 PORTREVISION= 22 CATEGORIES= x11 DISTFILES= tsunami/go.mod:prefetch MAINTAINER= tagattie@FreeBSD.org COMMENT= Open source, AI-native terminal that sees your entire workspace WWW= https://www.waveterm.dev/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= task:devel/task LIB_DEPENDS= libvips.so:graphics/vips -USES= cargo electron:41 gmake go:1.25+,modules,no_targets \ +USES= cargo electron:41 gmake go:modules,no_targets \ nodejs:24,build npm:npm python:build USE_GITHUB= yes GH_ACCOUNT= wavetermdev GH_TUPLE= swc-project:swc:v1.15.11:swc/swc CARGO_CARGOTOML=${WRKSRC}/swc/Cargo.toml CARGO_CARGOLOCK=${WRKSRC}/swc/Cargo.lock CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no CARGO_ENV+= CARGO_FEATURE_LOCAL_DYNAMIC_TLS=1 GO_MOD_DIST= github GO_MODULE= github.com/wavetermdev/waveterm BINARY_ALIAS= python3=${PYTHON_CMD} SUB_FILES= ${PORTNAME} PLIST_SUB= ARCH=${ARCH:S/aarch64/arm64/:S/amd64/x64/} \ DISTVERSION=${DISTVERSION} PORTDOCS= CONTRIBUTING.md README.md SECURITY.md OPTIONS_DEFINE= DOCS USE_ELECTRON= appbuilder:devel rebuild build:builder ELECTRON_MAKE_FLAGS+= -c electron-builder.config.cjs pre-fetch: @${MKDIR} ${DISTDIR}/${DIST_SUBDIR}/tsunami @if [ ! -f ${DISTDIR}/${DIST_SUBDIR}/tsunami/go.mod ]; then \ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} \ https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/tsunami/go.mod \ -o ${DISTDIR}/${DIST_SUBDIR}/tsunami/go.mod; \ fi pre-build: cd ${WRKSRC}/swc && \ ${SETENV} ${MAKE_ENV} ${CARGO_ENV} ${CARGO} build \ --manifest-path ${CARGO_CARGOTOML} \ --package binding_core_node --release --verbose --verbose ${CP} ${CARGO_TARGET_DIR}/*/libbinding_core_node.so \ ${WRKSRC}/node_modules/@swc/core/swc.freebsd-${ELECTRON_ARCH}.node cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${GO_ENV} task --verbose build:backend cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${GO_ENV} task --verbose build:tsunamiscaffold .for mod in lqip-loader plugin-ideal-image cd ${WRKSRC}/node_modules/@docusaurus/${mod}/node_modules/sharp && \ ${SETENV} ${MAKE_ENV} ${ELECTRON_REBUILD_ENV} npm run install .endfor cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npm run build:prod # generate icon files cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} app-builder icon \ --input=icon.icns --out=icons --format=set --root=build .for size in 16 48 ${MV} ${WRKSRC}/icons/icon_${size}x${size}.png ${WRKSRC}/icons/icon_${size}.png .endfor do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} .for size in 16 32 48 64 128 256 512 1024 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}x${size}/apps ${INSTALL_DATA} ${WRKSRC}/icons/icon_${size}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}x${size}/apps/${PORTNAME}.png .endfor @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC}/make/${ELECTRON_BUILDER_APP_OUT_DIR} && \ ${COPYTREE_SHARE} resources ${STAGEDIR}${DATADIR} ${FIND} ${STAGEDIR}${DATADIR}/resources -type f -exec ${FILE} {} ';' | \ ${GREP} 'ELF.*FreeBSD' | ${AWK} -F ': ' '{print $$1}' | ${XARGS} ${STRIP_CMD} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} do-test: cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} npm run test .include