git: 0f98ff01e156 - main - editor/novelwriter: New port: Text editor designed for writing novels

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 16 Oct 2022 22:14:48 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0f98ff01e156a2941c5c02c839ec80a49490fcf2

commit 0f98ff01e156a2941c5c02c839ec80a49490fcf2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-10-16 22:14:11 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-16 22:14:45 +0000

    editor/novelwriter: New port: Text editor designed for writing novels
---
 editors/Makefile              |  1 +
 editors/novelwriter/Makefile  | 28 ++++++++++++++++++++++++++++
 editors/novelwriter/distinfo  |  3 +++
 editors/novelwriter/pkg-descr |  6 ++++++
 4 files changed, 38 insertions(+)

diff --git a/editors/Makefile b/editors/Makefile
index 2f7ab5ece415..dbf8f88dd1b6 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -212,6 +212,7 @@
     SUBDIR += neovim
     SUBDIR += neovim-qt
     SUBDIR += notepadnext
+    SUBDIR += novelwriter
     SUBDIR += nvi-m17n
     SUBDIR += nvi2
     SUBDIR += o
diff --git a/editors/novelwriter/Makefile b/editors/novelwriter/Makefile
new file mode 100644
index 000000000000..d813495bc0c5
--- /dev/null
+++ b/editors/novelwriter/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	novelwriter
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.6.5
+CATEGORIES=	editors python
+MASTER_SITES=	CHEESESHOP
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Text editor designed for writing novels
+WWW=		https://novelwriter.io/
+
+LICENSE=	GPLv3
+
+PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}enchant>=3.0.0:textproc/py-enchant@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_DEPENDS}
+RUN_DEPENDS=	${PY_DEPENDS}
+
+USES=		python:3.7+ pyqt:5
+USE_PYQT=	pyqt5
+USE_PYTHON=	distutils concurrent autoplist
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	vkbo
+GH_PROJECT=	novelWriter
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/editors/novelwriter/distinfo b/editors/novelwriter/distinfo
new file mode 100644
index 000000000000..19bf5271aeaf
--- /dev/null
+++ b/editors/novelwriter/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1665957302
+SHA256 (vkbo-novelWriter-v1.6.5_GH0.tar.gz) = 367e74752f42131f5424bc090e9a23df749b7bc802041a2f2411da6cf95ec9f1
+SIZE (vkbo-novelWriter-v1.6.5_GH0.tar.gz) = 2290254
diff --git a/editors/novelwriter/pkg-descr b/editors/novelwriter/pkg-descr
new file mode 100644
index 000000000000..fc295a6b354a
--- /dev/null
+++ b/editors/novelwriter/pkg-descr
@@ -0,0 +1,6 @@
+novelWriter is a markdown-like text editor designed for writing novels and
+larger projects of many smaller plain text documents.
+
+It is designed to be a simple text editor that allows for easy organisation of
+text files and notes, with a meta data syntax for comments, synopsis, and
+cross-referencing between files, and built on plain text files for robustness.