diff --git a/editors/ghostwriter/Makefile b/editors/ghostwriter/Makefile index 5f7c7e34edfe..8e2ace8d8aaf 100644 --- a/editors/ghostwriter/Makefile +++ b/editors/ghostwriter/Makefile @@ -1,23 +1,28 @@ PORTNAME= ghostwriter -DISTVERSIONPREFIX= v -DISTVERSION= 1.8.1 +DISTVERSION= 2.1.2 CATEGORIES= editors -MAINTAINER= ports@FreeBSD.org +MAINTAINER= madpilot@FreeBSD.org COMMENT= Distraction-free Markdown editor LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell USES= compiler:c++11-lang desktop-file-utils pkgconfig qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= wereturtle USE_QT= core gui svg webchannel webengine widgets buildtools_build \ linguisttools_build # cf. PR 224488 LDFLAGS+= -Wl,--as-needed +post-configure: + @${REINPLACE_CMD} -e 's|^\(build/release/qrc_QtAwesomeFree.cpp:[^\\]*\)\\|\1|' \ + -e '/3rdparty\/QtAwesome\/fonts\/Font/d' \ + -e '/\/lib\/qt5\/bin\/rcc \\/d' \ + ${WRKSRC}/Makefile + .include diff --git a/editors/ghostwriter/distinfo b/editors/ghostwriter/distinfo index ebe99a81b285..970ff8bf6a29 100644 --- a/editors/ghostwriter/distinfo +++ b/editors/ghostwriter/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1582434096 -SHA256 (wereturtle-ghostwriter-v1.8.1_GH0.tar.gz) = 2b73fed6a95ebcd45333fe4b12acb491eb4171fca8a11eea1af9bbdc73ed4b69 -SIZE (wereturtle-ghostwriter-v1.8.1_GH0.tar.gz) = 1220000 +TIMESTAMP = 1648229424 +SHA256 (wereturtle-ghostwriter-2.1.2_GH0.tar.gz) = 65aa523a9c3d4f4c68f2cb6f5ab600cf24c98b4f0673a622d757a8e28eab120f +SIZE (wereturtle-ghostwriter-2.1.2_GH0.tar.gz) = 7722873 diff --git a/editors/ghostwriter/files/patch-src_MarkdownEditor.cpp b/editors/ghostwriter/files/patch-src_MarkdownEditor.cpp deleted file mode 100644 index 89c3e7114850..000000000000 --- a/editors/ghostwriter/files/patch-src_MarkdownEditor.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- src/MarkdownEditor.cpp.orig 2020-05-21 07:40:36 UTC -+++ src/MarkdownEditor.cpp -@@ -34,6 +34,7 @@ - #include - #include - #include -+#include - #include - #include - diff --git a/editors/ghostwriter/pkg-plist b/editors/ghostwriter/pkg-plist index 199d1c40018f..15bcc8f07041 100644 --- a/editors/ghostwriter/pkg-plist +++ b/editors/ghostwriter/pkg-plist @@ -1,27 +1,29 @@ bin/ghostwriter -share/appdata/ghostwriter.appdata.xml share/applications/ghostwriter.desktop %%DATADIR%%/translations/ghostwriter_ar.qm +%%DATADIR%%/translations/ghostwriter_ca.qm %%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_nb_NO.qm %%DATADIR%%/translations/ghostwriter_nl.qm %%DATADIR%%/translations/ghostwriter_pl.qm %%DATADIR%%/translations/ghostwriter_pt_BR.qm %%DATADIR%%/translations/ghostwriter_ru.qm +%%DATADIR%%/translations/ghostwriter_sv.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 share/man/man1/ghostwriter.1.gz -share/pixmaps/ghostwriter.xpm +share/metainfo/ghostwriter.appdata.xml