aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-10-16 22:14:11 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-10-16 22:14:45 +0000
commit0f98ff01e156a2941c5c02c839ec80a49490fcf2 (patch)
treee529eea0f14b5b761b46fe3e1c6f258fe94f1087
parent00180663d1e163f50dfae6916e9eac4c4192338d (diff)
downloadports-0f98ff01e156a2941c5c02c839ec80a49490fcf2.tar.gz
ports-0f98ff01e156a2941c5c02c839ec80a49490fcf2.zip
editor/novelwriter: New port: Text editor designed for writing novels
-rw-r--r--editors/Makefile1
-rw-r--r--editors/novelwriter/Makefile28
-rw-r--r--editors/novelwriter/distinfo3
-rw-r--r--editors/novelwriter/pkg-descr6
4 files changed, 38 insertions, 0 deletions
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.