Ignore:
Timestamp:
Jun 3, 2009, 6:02:53 AM (11 years ago)
Author:
snc@…
Message:

patch to update lilypond, #19811. thanks blb

Location:
trunk/dports/textproc/lilypond
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/lilypond/Portfile

    r51630 r51779  
    55
    66name                lilypond
    7 version             2.12.1
     7version             2.12.2
    88set branch          [join [lrange [split ${version} .] 0 1] .]
    99categories          textproc
     
    1919platforms           darwin
    2020master_sites        http://download.linuxaudio.org/lilypond/sources/v${branch}/
    21 checksums           md5 487d62b20d14faea3edc7561dece3ff2 \
    22                     sha1 203bead967f8409dbac00fd835d2a411694f408b \
    23                     rmd160 794c9d8de513ba6e32304883a62b9b368a316030
     21checksums           md5     681dfbecf8a3710d1400cf9488be716b \
     22                    sha1    92afe4ef926d966e7855f64ae93ee762f1fa5178 \
     23                    rmd160  0ef1e1cbceb4fbf69a31b00a030ee40c4280091d
    2424
    2525depends_lib         port:fontforge \
     
    3232                    port:urw-fonts
    3333
    34 pre-build {
    35     # we need to help the system find the requisite libraries
    36     # set the DYLD_LIBRARY_PATH environment variable
    37     global env
    38     set env(DYLD_LIBRARY_PATH) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources:${prefix}/lib
    39 
    40             # create symlinks
    41     if { [file exists "/usr/lib/libguile-srfi-srfi-1-v-3.so"] == 0 } \
    42         { ln -s ${prefix}/lib/libguile-srfi-srfi-1-v-3.so /usr/lib/libguile-srfi-srfi-1-v-3.so }
    43     if { [file exists "${prefix}/lib/libguile-srfi-srfi-1-v-3.so"] == 0 } \
    44         { ln -s ${prefix}/lib/libguile-srfi-srfi-1-v-3.dylib ${prefix}/lib/libguile-srfi-srfi-1-v-3.so }
    45 }
    46 
    4734configure.args  --with-ncsb-dir=${prefix}/share/fonts/urw-fonts \
    4835    --disable-documentation \
    4936    --disable-gui
     37configure.env       LTDL_LIBRARY_PATH=${prefix}/lib
     38
     39build.env           LTDL_LIBRARY_PATH=${prefix}/lib
     40
     41destroot.env        LTDL_LIBRARY_PATH=${prefix}/lib
     42post-destroot {
     43    move ${destroot}${prefix}/bin/lilypond \
     44        ${destroot}${prefix}/libexec/lilypond-bin
     45    xinstall -m 755 ${filespath}/lilypond.in ${destroot}${prefix}/bin/lilypond
     46    reinplace "s|@@PREFIX@@|${prefix}|g" ${destroot}${prefix}/bin/lilypond
     47}
    5048
    5149variant docs description {Build documentation files} {
     
    6058}
    6159
    62 default_variants    +docs -gui
     60default_variants    +docs
    6361
    6462livecheck.check regex
Note: See TracChangeset for help on using the changeset viewer.