summaryrefslogtreecommitdiff
path: root/net/netpeek/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/netpeek/Makefile')
-rw-r--r--net/netpeek/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/net/netpeek/Makefile b/net/netpeek/Makefile
new file mode 100644
index 000000000000..e33fdccb7820
--- /dev/null
+++ b/net/netpeek/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= netpeek
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.2.4
+CATEGORIES= net gnome python
+
+MAINTAINER= nxjoseph@protonmail.com
+COMMENT= Modern local network scanner for GNOME
+WWW= https://github.com/zingytomato/netpeek \
+ https://flathub.org/apps/io.github.zingytomato.netpeek
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-nmap>=0:security/py-python-nmap@${PY_FLAVOR}
+
+USES= gettext-tools gnome meson pkgconfig python:build,run
+USE_GITHUB= yes
+GH_ACCOUNT= ZingyTomato
+GH_PROJECT= NetPeek
+USE_GNOME= glib20 gtk40
+
+post-patch:
+ ${REINPLACE_CMD} 's,python3,python${PYTHON_VER},g' \
+ ${WRKSRC}/src/meson.build
+
+.include <bsd.port.mk>