1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name lilypond |
---|
6 | version 2.12.1 |
---|
7 | categories textproc |
---|
8 | maintainers nomaintainer |
---|
9 | description An automated engraving system for typesetting sheet music. |
---|
10 | long_description \ |
---|
11 | Lilypond is a unix-based automated engraving system that generates \ |
---|
12 | beautiful sheet music from input files. Lilypond uses its own input \ |
---|
13 | format, .ly, which in many ways is similar to LaTeX. Lilypond can \ |
---|
14 | export sheet music to PDF, EPS, SVG, and PNG formats, and can also \ |
---|
15 | create MIDI files. |
---|
16 | homepage http://lilypond.org/ |
---|
17 | platforms darwin |
---|
18 | master_sites http://download.linuxaudio.org/lilypond/sources/v2.12/ |
---|
19 | checksums md5 487d62b20d14faea3edc7561dece3ff2 \ |
---|
20 | sha1 203bead967f8409dbac00fd835d2a411694f408b \ |
---|
21 | rmd160 794c9d8de513ba6e32304883a62b9b368a316030 |
---|
22 | |
---|
23 | depends_lib port:fontforge \ |
---|
24 | port:ghostscript \ |
---|
25 | port:mftrace \ |
---|
26 | port:guile \ |
---|
27 | port:texinfo \ |
---|
28 | port:pango \ |
---|
29 | port:flex |
---|
30 | |
---|
31 | pre-build { |
---|
32 | # we need to help the system find the requisite libraries |
---|
33 | # set the DYLD_LIBRARY_PATH environment variable |
---|
34 | global env |
---|
35 | set env(DYLD_LIBRARY_PATH) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources:/opt/local/lib |
---|
36 | # create symlinks |
---|
37 | if { [file exists "/usr/lib/libguile-srfi-srfi-1-v-3.so"] == 0 } \ |
---|
38 | { ln -s ${prefix}/lib/libguile-srfi-srfi-1-v-3.so /usr/lib/libguile-srfi-srfi-1-v-3.so } |
---|
39 | if { [file exists "${prefix}/lib/libguile-srfi-srfi-1-v-3.so"] == 0 } \ |
---|
40 | { ln -s ${prefix}/lib/libguile-srfi-srfi-1-v-3.dylib ${prefix}/lib/libguile-srfi-srfi-1-v-3.so } |
---|
41 | } |
---|
42 | |
---|
43 | configure.args --with-ncsb-dir=${prefix}/share/ghostscript/fonts \ |
---|
44 | --disable-documentation \ |
---|
45 | --disable-gui |
---|
46 | |
---|
47 | variant docs description {Build documentation files} { |
---|
48 | configure.args-delete --disable-documentation |
---|
49 | configure.args-append --enable-documentation |
---|
50 | depends_lib-append port:netpbm |
---|
51 | } |
---|
52 | |
---|
53 | variant gui description {Build GNOME GUI (X11)} { |
---|
54 | configure.args-delete --disable-gui |
---|
55 | configure.args-append --enable-gui |
---|
56 | } |
---|
57 | |
---|
58 | default_variants +docs -gui |
---|