Skip to content
Permalink
Browse files

cherrytree: needs a default +x11 variant

  • Loading branch information
kencu committed May 16, 2020
1 parent acf09ff commit 572cfe41819e2c4309f1771bab271ab3f8c778c8
Showing with 14 additions and 1 deletion.
  1. +14 −1 editors/cherrytree/Portfile
@@ -4,9 +4,10 @@ PortSystem 1.0
PortGroup github 1.0
PortGroup python 1.0
PortGroup app 1.0
PortGroup active_variants 1.1

github.setup giuspen cherrytree 0.39.3
revision 0
revision 1
categories editors
license GPL-3+
maintainers {kencu @kencu} openmaintainer
@@ -35,6 +36,18 @@ app.executable ${python.prefix}/bin/${name}
app.icon ./future/icons/cherrytree.ico
app.use_launch_script yes

variant x11 conflicts quartz {
require_active_variants gtk2 x11 quartz
}

variant quartz conflicts x11 {
require_active_variants gtk2 quartz x11
}

if {![variant_isset quartz]} {
default_variants-append +x11
}

patch {
reinplace "s|/usr/bin/env python|${prefix}/bin/python2.7|" setup.py
}

0 comments on commit 572cfe4

Please sign in to comment.
You can’t perform that action at this time.