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