Ticket #18023: Portfile-lilypond

File Portfile-lilypond, 1.9 KB (added by singingwolfboy@…, 16 years ago)

changed long description again -- lilypond also exports SVG

Line 
1# $Id$
2
3PortSystem 1.0
4
5name            lilypond
6version         2.12.1
7categories      textproc
8maintainers     nomaintainer
9description     An automated engraving system for typesetting sheet music.
10long_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.
16homepage        http://lilypond.org/
17platforms       darwin
18master_sites    http://download.linuxaudio.org/lilypond/sources/v2.12/
19checksums       md5 487d62b20d14faea3edc7561dece3ff2 \
20                sha1 203bead967f8409dbac00fd835d2a411694f408b \
21                rmd160 794c9d8de513ba6e32304883a62b9b368a316030
22
23depends_lib     port:fontforge \
24                port:ghostscript \
25                port:mftrace \
26                port:guile \
27                port:texinfo \
28                port:pango \
29                port:flex
30
31pre-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
43configure.args --with-ncsb-dir=${prefix}/share/ghostscript/fonts \
44        --disable-documentation \
45        --disable-gui
46
47variant 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
53variant gui description {Build GNOME GUI (X11)} {
54        configure.args-delete   --disable-gui
55        configure.args-append   --enable-gui
56}
57
58default_variants        +docs -gui