freebsd-ports/deskutils/noti/Makefile

29 lines
678 B
Makefile

PORTNAME= noti
DISTVERSION= 3.7.0
PORTREVISION= 8
CATEGORIES= deskutils
MAINTAINER= tagattie@FreeBSD.org
COMMENT= Trigger notifications when a process completes
WWW= https://github.com/variadico/noti
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= notify-send:devel/libnotify
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= variadico
GO_TARGET= ./cmd/noti
PLIST_FILES= bin/noti share/man/man1/noti.1.gz share/man/man5/noti.yaml.5.gz
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
.include <bsd.port.mk>