Ticket #40139: Portfile

File Portfile, 1.6 KB (added by dliessi (Davide Liessi), 11 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                frescobaldi
7version             2.0.10
8categories          editors python
9maintainers         gmail.com:davide.liessi openmaintainer
10description         A LilyPond sheet music text editor
11long_description    Frescobaldi is a LilyPond sheet music text editor. \
12                    It aims to be powerful, yet lightweight and easy to use.
13homepage            http://www.frescobaldi.org/
14platforms           darwin
15supported_archs     noarch
16license             GPL-2+
17
18master_sites        googlecode:lilykde
19
20checksums           rmd160  8d83dfd2a9b2720089e8e09ab2ec56205f76593c \
21                    sha256  b30808a2377836b5fb6269c5fd61cd9e52bdfd49c1923c562adc79b9f97c80e5
22
23build {}
24
25depends_run-append  port:portmidi
26
27variant python26 description {Use python 2.6} {
28        python.default_version  26
29        depends_run-append      port:py${python.default_version}-pyqt4 \
30                                port:py${python.default_version}-python-poppler-qt4
31}
32variant python27 description {Use python 2.7} {
33        python.default_version  27
34        depends_run-append      port:py${python.default_version}-pyqt4 \
35                                port:py${python.default_version}-python-poppler-qt4
36}
37if {![variant_isset python26]} {
38        default_variants        +python27
39}
40variant no_portmidi description {Remove dependency on portmidi (no MIDI support)} {
41        depends_run-delete      port:portmidi
42}
43variant no_popplerqt4 description {Remove dependency on py-python-poppler-qt4 (no PDF support)} {
44        depends_run-delete      port:py${python.default_version}-python-poppler-qt4
45}