From 1a84905031c983afafa36b42330a64d74429af4e Mon Sep 17 00:00:00 2001 From: tobik Date: Fri, 3 Aug 2018 06:58:31 +0000 Subject: 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/ --- editors/Makefile | 1 + editors/ghostwriter/Makefile | 26 ++++++++++++++++++++++++++ editors/ghostwriter/distinfo | 3 +++ editors/ghostwriter/pkg-descr | 9 +++++++++ editors/ghostwriter/pkg-plist | 25 +++++++++++++++++++++++++ 5 files changed, 64 insertions(+) create mode 100644 editors/ghostwriter/Makefile create mode 100644 editors/ghostwriter/distinfo create mode 100644 editors/ghostwriter/pkg-descr create mode 100644 editors/ghostwriter/pkg-plist (limited to 'editors') 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 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 -- cgit