Ticket #40139: Portfile.5

File Portfile.5, 1.7 KB (added by dliessi (Davide Liessi), 11 years ago)

Make python26 and python27 variants conflict

Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                frescobaldi
8version             2.0.10
9categories          editors python
10maintainers         gmail.com:davide.liessi openmaintainer
11description         A LilyPond sheet music text editor
12long_description    Frescobaldi is a LilyPond sheet music text editor. \
13                    It aims to be powerful, yet lightweight and easy to use.
14homepage            http://www.frescobaldi.org/
15platforms           darwin
16supported_archs     noarch
17license             GPL-2+
18
19master_sites        googlecode:lilykde
20
21checksums           rmd160  8d83dfd2a9b2720089e8e09ab2ec56205f76593c \
22                    sha256  b30808a2377836b5fb6269c5fd61cd9e52bdfd49c1923c562adc79b9f97c80e5
23
24build {}
25
26depends_run-append  port:portmidi
27
28variant python26 conflicts python27 description {Use python 2.6} {
29    python.default_version  26
30    depends_run-append      port:py${python.default_version}-pyqt4 \
31                            port:py${python.default_version}-python-poppler-qt4
32}
33variant python27 conflicts python26 description {Use python 2.7} {
34    python.default_version  27
35    depends_run-append      port:py${python.default_version}-pyqt4 \
36                            port:py${python.default_version}-python-poppler-qt4
37}
38if {![variant_isset python26]} {
39    default_variants        +python27
40}
41
42notes \
43"You may want to install fluidsynth and obtain a SoundFont
44in order to have audio output from frescobaldi's MIDI output.
45
46You will need to select fluidsynth's MIDI input port
47in frescobaldi's MIDI settings (in Preferences)
48while fluidsynth is running."