Changeset View
Changeset View
Standalone View
Standalone View
deskutils/noti/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= noti | PORTNAME= noti | ||||
DISTVERSION= 3.2.0 | DISTVERSION= 3.2.0 | ||||
CATEGORIES= deskutils | CATEGORIES= deskutils | ||||
MAINTAINER= tagattie@yandex.com | MAINTAINER= tagattie@yandex.com | ||||
COMMENT= Trigger notifications when a process completes | COMMENT= Trigger notifications when a process completes | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
RUN_DEPENDS= notify-send:devel/libnotify | RUN_DEPENDS= notify-send:devel/libnotify | ||||
USES= go:modules | USES= go:modules | ||||
USE_GITHUB= yes | |||||
USE_GITHUB= yes | |||||
GH_ACCOUNT= variadico | GH_ACCOUNT= variadico | ||||
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} | GO_TARGET= ./cmd/noti | ||||
GO_TARGET= github.com/${GH_ACCOUNT}/${PORTNAME}/cmd/noti | |||||
PLIST_FILES= bin/noti man/man1/noti.1.gz man/man5/noti.yaml.5.gz | PLIST_FILES= bin/noti man/man1/noti.1.gz man/man5/noti.yaml.5.gz | ||||
do-install: | post-install: | ||||
${INSTALL_PROGRAM} ${WRKDIR}/bin/noti ${STAGEDIR}${PREFIX}/bin | |||||
${INSTALL_MAN} ${WRKSRC}/docs/man/noti.1 ${STAGEDIR}${MANPREFIX}/man/man1/noti.1 | ${INSTALL_MAN} ${WRKSRC}/docs/man/noti.1 ${STAGEDIR}${MANPREFIX}/man/man1/noti.1 | ||||
${INSTALL_MAN} ${WRKSRC}/docs/man/noti.yaml.5 ${STAGEDIR}${MANPREFIX}/man/man5/noti.yaml.5 | ${INSTALL_MAN} ${WRKSRC}/docs/man/noti.yaml.5 ${STAGEDIR}${MANPREFIX}/man/man5/noti.yaml.5 | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |