aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2018-08-03 14:58:31 +0800
committertobik <tobik@FreeBSD.org>2018-08-03 14:58:31 +0800
commit1a84905031c983afafa36b42330a64d74429af4e (patch)
treec97ad96f5d11a64e1081dcac249c49b9a344f0cd /editors
parent51ce5060eec8afb155bcf3a057fbb28821479d95 (diff)
downloadfreebsd-ports-gnome-1a84905031c983afafa36b42330a64d74429af4e.tar.gz
freebsd-ports-gnome-1a84905031c983afafa36b42330a64d74429af4e.tar.zst
freebsd-ports-gnome-1a84905031c983afafa36b42330a64d74429af4e.zip
New port: editors/ghostwriter
Ghostwriter is a text editor for Markdown. It provides a relaxing, distraction-free writing environment, whether your masterpiece is that next blog post, your school paper, or your NaNoWriMo novel. Create your own custom themes, write in fullscreen mode, or use focus mode to concentrate on just one or more lines. A live HTML preview allows you to view the final formatting as you type. WWW: http://wereturtle.github.io/ghostwriter/
Diffstat (limited to 'editors')
-rw-r--r--editors/Makefile1
-rw-r--r--editors/ghostwriter/Makefile26
-rw-r--r--editors/ghostwriter/distinfo3
-rw-r--r--editors/ghostwriter/pkg-descr9
-rw-r--r--editors/ghostwriter/pkg-plist25
5 files changed, 64 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile
index 62b910a17c39..86279024be1b 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -49,6 +49,7 @@
SUBDIR += gedit
SUBDIR += gedit-plugins
SUBDIR += ghex
+ SUBDIR += ghostwriter
SUBDIR += gmanedit
SUBDIR += gnotepad+
SUBDIR += gobby
diff --git a/editors/ghostwriter/Makefile b/editors/ghostwriter/Makefile
new file mode 100644
index 000000000000..c3eb1cfc10d2
--- /dev/null
+++ b/editors/ghostwriter/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= ghostwriter
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.7.2
+CATEGORIES= editors
+
+MAINTAINER= tobik@FreeBSD.org
+COMMENT= Distraction-free Markdown editor
+
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libhunspell-1.6.so:textproc/hunspell
+
+USES= desktop-file-utils pkgconfig qmake qt:5
+USE_GITHUB= yes
+GH_ACCOUNT= wereturtle
+USE_QT= concurrent core gui network printsupport svg webkit widgets \
+ buildtools_build linguisttools_build
+LDFLAGS+= -Wl,--as-needed # cf. PR 224488
+
+post-patch:
+ @${REINPLACE_CMD} 's,share/man/,man/,' ${WRKSRC}/ghostwriter.pro
+
+.include <bsd.port.mk>
diff --git a/editors/ghostwriter/distinfo b/editors/ghostwriter/distinfo
new file mode 100644
index 000000000000..e08c93063a9c
--- /dev/null
+++ b/editors/ghostwriter/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1533269708
+SHA256 (wereturtle-ghostwriter-v1.7.2_GH0.tar.gz) = 034358fbf3256fbc4cdf24942de39948fff420398dafb22c54c813dbc266e84e
+SIZE (wereturtle-ghostwriter-v1.7.2_GH0.tar.gz) = 672150
diff --git a/editors/ghostwriter/pkg-descr b/editors/ghostwriter/pkg-descr
new file mode 100644
index 000000000000..66003be1ffb1
--- /dev/null
+++ b/editors/ghostwriter/pkg-descr
@@ -0,0 +1,9 @@
+Ghostwriter is a text editor for Markdown. It provides a relaxing,
+distraction-free writing environment, whether your masterpiece is
+that next blog post, your school paper, or your NaNoWriMo novel.
+
+Create your own custom themes, write in fullscreen mode, or use
+focus mode to concentrate on just one or more lines. A live HTML
+preview allows you to view the final formatting as you type.
+
+WWW: http://wereturtle.github.io/ghostwriter/
diff --git a/editors/ghostwriter/pkg-plist b/editors/ghostwriter/pkg-plist
new file mode 100644
index 000000000000..2e3e86328690
--- /dev/null
+++ b/editors/ghostwriter/pkg-plist
@@ -0,0 +1,25 @@
+bin/ghostwriter
+share/appdata/ghostwriter.appdata.xml
+share/applications/ghostwriter.desktop
+%%DATADIR%%/translations/ghostwriter_cs.qm
+%%DATADIR%%/translations/ghostwriter_de.qm
+%%DATADIR%%/translations/ghostwriter_en.qm
+%%DATADIR%%/translations/ghostwriter_es.qm
+%%DATADIR%%/translations/ghostwriter_fr.qm
+%%DATADIR%%/translations/ghostwriter_it.qm
+%%DATADIR%%/translations/ghostwriter_ja.qm
+%%DATADIR%%/translations/ghostwriter_pl.qm
+%%DATADIR%%/translations/ghostwriter_pt_BR.qm
+%%DATADIR%%/translations/ghostwriter_ru.qm
+%%DATADIR%%/translations/ghostwriter_zh.qm
+share/icons/hicolor/128x128/apps/ghostwriter.png
+share/icons/hicolor/16x16/apps/ghostwriter.png
+share/icons/hicolor/22x22/apps/ghostwriter.png
+share/icons/hicolor/24x24/apps/ghostwriter.png
+share/icons/hicolor/256x256/apps/ghostwriter.png
+share/icons/hicolor/32x32/apps/ghostwriter.png
+share/icons/hicolor/48x48/apps/ghostwriter.png
+share/icons/hicolor/64x64/apps/ghostwriter.png
+share/icons/hicolor/scalable/apps/ghostwriter.svg
+man/man1/ghostwriter.1.gz
+share/pixmaps/ghostwriter.xpm