import editors/ghostwriter

- https://wereturtle.github.io/ghostwriter/
 - https://github.com/wereturtle/ghostwriter/

OK landry@

$ cat pkg/DESCR
ghostwriter is a Windows and Unix text editor for Markdown, providing a
relaxing, distraction-free writing environment, whether your masterpiece
be that next blog post, your school paper, or your NaNoWriMo novel.

* Syntax highlighting of Markdown
* Navigation of document headings
* Full-screen mode
* Focus mode that highlights the current sentence, line, three lines, or
  paragraph
* Two built-in themes, one light and one dark
* Theme creator for custom colors and background images
* Spell checking with Hunspell
* A Live word count
* A live HTML preview as you type
* Use of custom CSS style sheets for HTML preview
* Image URL insertion via dragging and dropping an image file into the editor
* Sundown processor built in for preview and export to HTML
* Interoperability with the following Markdown processors (if installed) for
  preview and export to popular document formats, such as PDF, ODT, and RTF:
  * Pandoc
  * MultiMarkdown
  * Discount
  * cmark
This commit is contained in:
awolk 2017-01-17 12:58:26 +00:00
parent a1afb0ea51
commit 5169f5d4de
4 changed files with 90 additions and 0 deletions

View File

@ -0,0 +1,41 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/01/17 12:58:26 awolk Exp $
# qt5 webkit
USE_WXNEEDED = Yes
COMMENT = distraction-free Markdown editor
GH_ACCOUNT = wereturtle
GH_PROJECT = ghostwriter
GH_TAGNAME = v1.4.2
CATEGORIES = editors
HOMEPAGE = https://wereturtle.github.io/ghostwriter/
MAINTAINER = Adam Wolk <awolk@openbsd.org>
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += GL Qt5Concurrent Qt5Core Qt5Gui Qt5Network Qt5PrintSupport
WANTLIB += Qt5WebKit Qt5WebKitWidgets Qt5Widgets c hunspell-1.3
WANTLIB += m pthread
MODULES = devel/qmake \
x11/qt5
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+3,-guic
LIB_DEPENDS = textproc/hunspell \
x11/qt5/qtbase \
x11/qt5/qtwebkit
NO_TEST = Yes
pre-configure:
@sed -i 's,VERSION = ..system.*,VERSION =,' \
${WRKSRC}/ghostwriter.pro
@sed -i 's,/share/man/man1,/man/man1,' \
${WRKSRC}/ghostwriter.pro
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (ghostwriter-1.4.2.tar.gz) = d1dg0ExaeUw4EM/+nR2qcu4SPHfMMEH8FaIFJQOJlDg=
SIZE (ghostwriter-1.4.2.tar.gz) = 589182

View File

@ -0,0 +1,23 @@
ghostwriter is a Windows and Unix text editor for Markdown, providing a
relaxing, distraction-free writing environment, whether your masterpiece
be that next blog post, your school paper, or your NaNoWriMo novel.
* Syntax highlighting of Markdown
* Navigation of document headings
* Full-screen mode
* Focus mode that highlights the current sentence, line, three lines, or
paragraph
* Two built-in themes, one light and one dark
* Theme creator for custom colors and background images
* Spell checking with Hunspell
* A Live word count
* A live HTML preview as you type
* Use of custom CSS style sheets for HTML preview
* Image URL insertion via dragging and dropping an image file into the editor
* Sundown processor built in for preview and export to HTML
* Interoperability with the following Markdown processors (if installed) for
preview and export to popular document formats, such as PDF, ODT, and RTF:
* Pandoc
* MultiMarkdown
* Discount
* cmark

View File

@ -0,0 +1,24 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/01/17 12:58:26 awolk Exp $
@bin bin/ghostwriter
@man man/man1/ghostwriter.1
share/appdata/
share/appdata/ghostwriter.appdata.xml
share/applications/ghostwriter.desktop
share/ghostwriter/
share/ghostwriter/translations/
share/ghostwriter/translations/ghostwriter_en.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
share/pixmaps/
share/pixmaps/ghostwriter.xpm
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database
@exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
@unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor