Date: Thu, 23 Dec 2021 17:18:02 GMT From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 3525c4891ec9 - main - deskutils/mindforger: allow to build with and enable CommonMark support. Message-ID: <202112231718.1BNHI2rV091846@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=3525c4891ec9e8a4ce436ccc7be194218264e909 commit 3525c4891ec9e8a4ce436ccc7be194218264e909 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2021-12-23 17:16:32 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2021-12-23 17:16:32 +0000 deskutils/mindforger: allow to build with and enable CommonMark support. --- deskutils/mindforger/Makefile | 21 ++++++++++++++++++--- deskutils/mindforger/distinfo | 2 ++ 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/deskutils/mindforger/Makefile b/deskutils/mindforger/Makefile index fc84ee3fc04b..cd0e1d333d93 100644 --- a/deskutils/mindforger/Makefile +++ b/deskutils/mindforger/Makefile @@ -10,12 +10,27 @@ COMMENT= Thinking notebook and markdown editor LICENSE= GPLv2+ USES= qmake qt:5 -USE_GITHUB= yes -GH_ACCOUNT= dvorka USE_QT= buildtools_build core declarative gui location network \ printsupport webchannel webengine widgets +USE_GITHUB= yes +GH_ACCOUNT= dvorka +GH_PROJECT= cmark:cm +GH_TAGNAME= f06d944:cm +GH_SUBDIR= deps/cmark-gfm:cm + +QMAKE_ARGS= CONFIG+="mfnocxx mfwebengine" + +OPTIONS_DEFINE= CMARK +OPTIONS_DEFAULT= CMARK +CMARK_DESC= CommonMark support (Markdown -> HTML rendering) + +CMARK_BUILD_DEPENDS= cmake:devel/cmake +CMARK_QMAKE_OFF= CONFIG+="mfnomd2html" -QMAKE_ARGS= CONFIG+="mfwebengine mfnocxx mfnomd2html" +pre-build-CMARK-on: + @cd ${WRKSRC_cm} && cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ + -DCMARK_TESTS:BOOL=OFF -DCMARK_SHARED:BOOL=OFF \ + -B build && cmake --build build post-patch: @${REINPLACE_CMD} -e '/_WIN32/s,_APPLE,_${OPSYS},' \ diff --git a/deskutils/mindforger/distinfo b/deskutils/mindforger/distinfo index 9d5feabe5669..34ac782baf2b 100644 --- a/deskutils/mindforger/distinfo +++ b/deskutils/mindforger/distinfo @@ -1,3 +1,5 @@ TIMESTAMP = 1583687032 SHA256 (dvorka-mindforger-1.52.0_GH0.tar.gz) = d0fc9469e932a27f93b13acb6b708e2cfac37858083e0572a4c39b01b8202773 SIZE (dvorka-mindforger-1.52.0_GH0.tar.gz) = 1775600 +SHA256 (dvorka-cmark-f06d944_GH0.tar.gz) = 7793cd6f1904a7674f9830985ded7c096e8edfdfd2f21c7127213ffffa56fe6d +SIZE (dvorka-cmark-f06d944_GH0.tar.gz) = 279633
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112231718.1BNHI2rV091846>