# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 github.setup Zettlr Zettlr 2.3.0 v github.tarball_from archive name zettlr revision 0 homepage https://www.zettlr.com description A Markdown Editor for the 21st century. long_description \ Zettlr is a Markdown Editor for the 21st century. Zettlr supercharges \ your writing experience and makes no compromises. It supports standard \ Markdown and does not need any special handling. Just pull in your \ existing notes, Zettelkasten, and paper projects and start working \ on them immediately. Zettlr uses a WYSIWYM (What You See Is What You \ Mean) approach and renders certain elements such as links directly for \ your convenience. Zettlr is the first Markdown editor directly aimed at \ writing professionally. Whether you are a college student, a researcher, \ a journalist or an author -- Zettlr has the right tools for you. categories editors aqua installs_libs no license GPL-3 maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer supported_archs x86_64 arm64 checksums rmd160 3e02ad655b229515a4b28d911c79aa956d6e748e \ sha256 5b9bea09d48f74f0fa8e232cee4b9022d7b9b23d16c23e1acfa7093f6f6971eb \ size 28392827 depends_build port:yarn build.env-append CSC_IDENTITY_AUTO_DISCOVERY=false use_configure no use_xcode yes build { switch $build_arch { x86_64 { set package_target {mac-x64} } arm64 { set package_target {mac-arm} } } # Fetch and build JS dependencies system -W ${worksrcpath} "${build.env} yarn install --frozen-lockfile" # We allow Zettlr to download its own Pandoc bin, as: # a) It seeks a more recent version than the one MacPorts provides # b) It will be embedded into the .app bundle and not affect the ports # tree. system -W ${worksrcpath} "${build.env} ./scripts/get-pandoc.sh darwin" # Build electron app system -W ${worksrcpath} "${build.env} yarn package:${package_target}" } destroot { switch $build_arch { x86_64 { set outdir_suffix {x64} } arm64 { set outdir_suffix {arm64} } } copy ${worksrcpath}/out/Zettlr-darwin-${outdir_suffix}/Zettlr.app \ ${destroot}${applications_dir} } github.livecheck.regex {([0-9.]+)}