diff --git a/deskutils/noti/Makefile b/deskutils/noti/Makefile index 0c3c0efda07f..16577c88428c 100644 --- a/deskutils/noti/Makefile +++ b/deskutils/noti/Makefile @@ -1,31 +1,40 @@ PORTNAME= noti -DISTVERSION= 3.8.0 -PORTREVISION= 17 +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://github.com/variadico/noti +WWW= https://codeberg.org/roble/noti LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_FILE= ${WRKSRC}/LICENSES/MIT.txt RUN_DEPENDS= notify-send:devel/libnotify -USES= go:1.24+,modules - -USE_GITHUB= yes -GH_ACCOUNT= variadico +USES= go:1.25+,modules GO_TARGET= ./cmd/noti -GO_BUILDFLAGS= -ldflags "-s -w -X github.com/variadico/noti/internal/command.Version=${DISTVERSION}" +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 -PLIST_FILES= bin/noti \ - share/man/man1/noti.1.gz \ - share/man/man5/noti.yaml.5.gz +OPTIONS_DEFINE= DOCS post-install: - ${INSTALL_MAN} ${WRKSRC}/docs/man/dist/noti.1 ${STAGEDIR}${PREFIX}/share/man/man1/noti.1 - ${INSTALL_MAN} ${WRKSRC}/docs/man/dist/noti.yaml.5 ${STAGEDIR}${PREFIX}/share/man/man5/noti.yaml.5 + ${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/deskutils/noti/distinfo b/deskutils/noti/distinfo index e58c6d0cde25..9a7a5e5d31e3 100644 --- a/deskutils/noti/distinfo +++ b/deskutils/noti/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1742436550 -SHA256 (variadico-noti-3.8.0_GH0.tar.gz) = b637b4b4e5eb10b3ea2c5b2cf0fbd1904ab8fd26eaec4b911f4ce2db3ab881a2 -SIZE (variadico-noti-3.8.0_GH0.tar.gz) = 41570740 +TIMESTAMP = 1785468676 +SHA256 (noti3.9.0.tar.gz) = 02b18016f6a78a1adf3cdcc5b20d884437edd0cf21588415e022d637372619b8 +SIZE (noti3.9.0.tar.gz) = 13752320