aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidar Karlsen <vidar@karlsen.tech>2023-09-13 13:12:22 +0000
committerJoel Bodenmann <jbo@FreeBSD.org>2023-09-18 18:50:12 +0000
commit82818d45a6e46e830bfa69ea69b62d280fe7016e (patch)
treeb11cf343afc2dc5594ff92ef6e90a0c56df2f262
parenta07c17d2bab3a6845d07db75307da9d4b85f0afb (diff)
downloadports-82818d45a6e46e830bfa69ea69b62d280fe7016e.tar.gz
ports-82818d45a6e46e830bfa69ea69b62d280fe7016e.zip
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
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/nanonote/Makefile21
-rw-r--r--deskutils/nanonote/distinfo3
-rw-r--r--deskutils/nanonote/pkg-descr5
-rw-r--r--deskutils/nanonote/pkg-plist9
5 files changed, 39 insertions, 0 deletions
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