source: trunk/dports/textproc/lilypond/Portfile @ 51604

Last change on this file since 51604 was 51604, checked in by snc@…, 11 years ago

created livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
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: Portfile 51604 2009-05-29 03:17:38Z snc@macports.org $
3
4PortSystem          1.0
5
6name                lilypond
7version             2.12.1
8categories          textproc
9maintainers         snc openmaintainer
10description         An automated engraving system for typesetting sheet music.
11long_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
17homepage            http://lilypond.org/
18platforms           darwin
19master_sites        http://download.linuxaudio.org/lilypond/sources/v2.12/
20checksums           md5 487d62b20d14faea3edc7561dece3ff2 \
21                    sha1 203bead967f8409dbac00fd835d2a411694f408b \
22                    rmd160 794c9d8de513ba6e32304883a62b9b368a316030
23
24depends_lib         port:fontforge \
25                    port:ghostscript \
26                    port:mftrace \
27                    port:guile \
28                    port:texinfo \
29                    port:pango \
30                    port:flex \
31                    port:urw-fonts
32
33pre-build {
34    # we need to help the system find the requisite libraries
35    # set the DYLD_LIBRARY_PATH environment variable
36    global env
37    set env(DYLD_LIBRARY_PATH) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources:/opt/local/lib
38
39            # create symlinks
40    if { [file exists "/usr/lib/libguile-srfi-srfi-1-v-3.so"] == 0 } \
41        { ln -s ${prefix}/lib/libguile-srfi-srfi-1-v-3.so /usr/lib/libguile-srfi-srfi-1-v-3.so }
42    if { [file exists "${prefix}/lib/libguile-srfi-srfi-1-v-3.so"] == 0 } \
43        { ln -s ${prefix}/lib/libguile-srfi-srfi-1-v-3.dylib ${prefix}/lib/libguile-srfi-srfi-1-v-3.so }
44}
45
46configure.args  --with-ncsb-dir=${prefix}/share/fonts/urw-fonts \
47    --disable-documentation \
48    --disable-gui
49
50variant docs description {Build documentation files} {
51    configure.args-delete   --disable-documentation
52    configure.args-append   --enable-documentation
53    depends_lib-append      port:netpbm
54}
55
56variant gui description {Build GNOME GUI (X11)} {
57    configure.args-delete   --disable-gui
58    configure.args-append   --enable-gui
59}
60
61default_variants    +docs -gui
62
63livecheck.check regex
64livecheck.url   http://download.linuxaudio.org/lilypond/sources/v2.12/
65livecheck.regex "${name}-(\\d\\.\\d+\\.\\d)"
Note: See TracBrowser for help on using the repository browser.