# -*- 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
github.setup wbsoft frescobaldi 2.20.0 v
conflicts ${name}-devel ${name}2
categories editors python
maintainers {gmail.com:davide.liessi @dliessi} openmaintainer
description A LilyPond sheet music text editor
long_description Frescobaldi is an advanced text editor \
to edit LilyPond sheet music files. \
Features include an integrated PDF preview \
and a powerful Score Wizard.
homepage http://www.frescobaldi.org/
# frescobaldi-devel points to a specific commit and not to a release
if {"${name}-devel" ne ${subport}} {
github.tarball_from releases
checksums rmd160 27f121545cc7efe6a2b10fa69490a5714655f729 \
sha256 c3d7faab7b21ddbab98749751a94d0a848138a800b0ae744f0ec94000b459ae4 \
PortGroup active_variants 1.1
github.setup wbsoft ${name} 8e43f2f01cf56803a8c10b98d8787f97015895a0
conflicts ${name} ${name}2
checksums rmd160 e79fb399116910fe15df5f449b495e7f0ab39165 \
sha256 38e9f0f003316b70a1d11623087bd903d4f600e46930c757cedbf572979434f5 \
conflicts ${name} ${name}-devel
# remove this block after 8 August 2019
if {${os.platform} eq "darwin" && ${os.major} < 11} {
if {"${name}-devel" eq ${subport}} {
long_description ${long_description} \
\n\nFrescobaldi 3 requires Qt 5, \
which is not supported on your system. \
You may install Frescobaldi 2 \
(i.e., the port ${name}2) instead.
if {"${name}2" eq ${subport}} {
# don't conflict with frescobaldi-devel,
# allowing replaced_by to act as expected