summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/ntfy/Makefile25
-rw-r--r--sysutils/ntfy/distinfo3
-rw-r--r--sysutils/ntfy/pkg-descr5
4 files changed, 34 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 1a2ed5d01d52..a8fb81810201 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -753,6 +753,7 @@
SUBDIR += npadmin
SUBDIR += nq
SUBDIR += nrg2iso
+ SUBDIR += ntfy
SUBDIR += nut
SUBDIR += nvclock
SUBDIR += nvme-cli
diff --git a/sysutils/ntfy/Makefile b/sysutils/ntfy/Makefile
new file mode 100644
index 000000000000..523de51c52bf
--- /dev/null
+++ b/sysutils/ntfy/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= ntfy
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.4.4
+CATEGORIES= sysutils deskutils
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Utility for sending notifications on-demand, and when commands finish
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>0:devel/py-ruamel.yaml@${PY_FLAVOR}
+
+USES= python:3.5+ # with python:2.7 devel/py-ruamel fails with missing ruamel.ordereddict which is marked as extra-dependency there for python-2.X only
+USE_GITHUB= yes
+GH_ACCOUNT= dschep
+USE_PYTHON= distutils noflavors autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/sysutils/ntfy/distinfo b/sysutils/ntfy/distinfo
new file mode 100644
index 000000000000..fedf4bebdd67
--- /dev/null
+++ b/sysutils/ntfy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1549239421
+SHA256 (dschep-ntfy-v2.4.4_GH0.tar.gz) = 6c4d2ec8d9fc52ad237d03ac71533b672bfbaa27fe50817cca29a7a138e2df18
+SIZE (dschep-ntfy-v2.4.4_GH0.tar.gz) = 1835193
diff --git a/sysutils/ntfy/pkg-descr b/sysutils/ntfy/pkg-descr
new file mode 100644
index 000000000000..a03e6f9a8ec8
--- /dev/null
+++ b/sysutils/ntfy/pkg-descr
@@ -0,0 +1,5 @@
+ntfy brings notification to your shell. It can automatically provide desktop
+notifications when long running commands finish or it can send push
+notifications to your phone when a specific command finishes.
+
+WWW: https://ntfy.readthedocs.io/en/latest/