git: 82818d45a6e4 - main - deskutils/nanonote: Add new port

From: Joel Bodenmann <jbo_at_FreeBSD.org>
Date: Mon, 18 Sep 2023 18:51:00 UTC
The branch main has been updated by jbo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=82818d45a6e46e830bfa69ea69b62d280fe7016e

commit 82818d45a6e46e830bfa69ea69b62d280fe7016e
Author:     Vidar Karlsen <vidar@karlsen.tech>
AuthorDate: 2023-09-13 13:12:22 +0000
Commit:     Joel Bodenmann <jbo@FreeBSD.org>
CommitDate: 2023-09-18 18:50:12 +0000

    deskutils/nanonote: Add new port
    
    Nanonote is a minimalist note taking application.
    
    PR:                     273759
    Approved by:            zirias (mentor)
    Differential Revision:  https://reviews.freebsd.org/D41891
---
 deskutils/Makefile           |  1 +
 deskutils/nanonote/Makefile  | 21 +++++++++++++++++++++
 deskutils/nanonote/distinfo  |  3 +++
 deskutils/nanonote/pkg-descr |  5 +++++
 deskutils/nanonote/pkg-plist |  9 +++++++++
 5 files changed, 39 insertions(+)

diff --git a/deskutils/Makefile b/deskutils/Makefile
index 058954953e90..4e1c10958d3e 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -186,6 +186,7 @@
     SUBDIR += moregroupware
     SUBDIR += mozo
     SUBDIR += mytetra
+    SUBDIR += nanonote
     SUBDIR += nautilus-sendto
     SUBDIR += nextcloudclient
     SUBDIR += note
diff --git a/deskutils/nanonote/Makefile b/deskutils/nanonote/Makefile
new file mode 100644
index 000000000000..3f6c926cc5aa
--- /dev/null
+++ b/deskutils/nanonote/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	nanonote
+DISTVERSION=	1.4.0
+CATEGORIES=	deskutils
+MASTER_SITES=	https://github.com/agateau/${PORTNAME}/releases/download/${DISTVERSION}/
+
+MAINTAINER=	vidar@karlsen.tech
+COMMENT=	Minimalist note taking application
+WWW=		https://github.com/agateau/nanonote
+
+LICENSE=	BSD3CLAUSECLEAR
+LICENSE_NAME=	BSD 3-Clause Clear License
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+USES=		desktop-file-utils cmake kde:5 qt:5 tar:bz2
+
+USE_KDE=	ecm:build
+USE_QT=		buildtools:build qmake:build \
+		core gui linguisttools network testlib widgets
+
+.include <bsd.port.mk>
diff --git a/deskutils/nanonote/distinfo b/deskutils/nanonote/distinfo
new file mode 100644
index 000000000000..2199588f550b
--- /dev/null
+++ b/deskutils/nanonote/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1694944234
+SHA256 (nanonote-1.4.0.tar.bz2) = 0980a358b41ab4a630156e221864c38c7d429c6600252cfd8bc7de5a7606337b
+SIZE (nanonote-1.4.0.tar.bz2) = 1150363
diff --git a/deskutils/nanonote/pkg-descr b/deskutils/nanonote/pkg-descr
new file mode 100644
index 000000000000..1bd5878b4e0f
--- /dev/null
+++ b/deskutils/nanonote/pkg-descr
@@ -0,0 +1,5 @@
+Nanonote is a minimalist note taking application.
+It automatically saves anything you type. Being minimalist means it has no
+synchronisation, does not support multiple documents, images or any advanced
+formatting (the only formatting is highlighting URLs and Markdown-like
+headings).
diff --git a/deskutils/nanonote/pkg-plist b/deskutils/nanonote/pkg-plist
new file mode 100644
index 000000000000..2d9360c7cce1
--- /dev/null
+++ b/deskutils/nanonote/pkg-plist
@@ -0,0 +1,9 @@
+bin/nanonote
+share/applications/com.agateau.nanonote.desktop
+share/icons/hicolor/scalable/apps/nanonote.svg
+share/metainfo/com.agateau.nanonote.metainfo.xml
+%%DATADIR%%/translations/nanonote_cs.qm
+%%DATADIR%%/translations/nanonote_de.qm
+%%DATADIR%%/translations/nanonote_en.qm
+%%DATADIR%%/translations/nanonote_es.qm
+%%DATADIR%%/translations/nanonote_fr.qm