[51779] trunk/dports/textproc/lilypond
snc at macports.org
snc at macports.org
Tue Jun 2 23:02:54 PDT 2009
Revision: 51779
http://trac.macports.org/changeset/51779
Author: snc at macports.org
Date: 2009-06-02 23:02:53 -0700 (Tue, 02 Jun 2009)
Log Message:
-----------
patch to update lilypond, #19811. thanks blb
Modified Paths:
--------------
trunk/dports/textproc/lilypond/Portfile
Added Paths:
-----------
trunk/dports/textproc/lilypond/files/
trunk/dports/textproc/lilypond/files/lilypond.in
Modified: trunk/dports/textproc/lilypond/Portfile
===================================================================
--- trunk/dports/textproc/lilypond/Portfile 2009-06-03 05:54:16 UTC (rev 51778)
+++ trunk/dports/textproc/lilypond/Portfile 2009-06-03 06:02:53 UTC (rev 51779)
@@ -4,7 +4,7 @@
PortSystem 1.0
name lilypond
-version 2.12.1
+version 2.12.2
set branch [join [lrange [split ${version} .] 0 1] .]
categories textproc
maintainers snc openmaintainer
@@ -18,9 +18,9 @@
homepage http://lilypond.org/
platforms darwin
master_sites http://download.linuxaudio.org/lilypond/sources/v${branch}/
-checksums md5 487d62b20d14faea3edc7561dece3ff2 \
- sha1 203bead967f8409dbac00fd835d2a411694f408b \
- rmd160 794c9d8de513ba6e32304883a62b9b368a316030
+checksums md5 681dfbecf8a3710d1400cf9488be716b \
+ sha1 92afe4ef926d966e7855f64ae93ee762f1fa5178 \
+ rmd160 0ef1e1cbceb4fbf69a31b00a030ee40c4280091d
depends_lib port:fontforge \
port:ghostscript \
@@ -31,23 +31,21 @@
port:flex \
port:urw-fonts
-pre-build {
- # we need to help the system find the requisite libraries
- # set the DYLD_LIBRARY_PATH environment variable
- global env
- set env(DYLD_LIBRARY_PATH) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources:${prefix}/lib
-
- # create symlinks
- if { [file exists "/usr/lib/libguile-srfi-srfi-1-v-3.so"] == 0 } \
- { ln -s ${prefix}/lib/libguile-srfi-srfi-1-v-3.so /usr/lib/libguile-srfi-srfi-1-v-3.so }
- if { [file exists "${prefix}/lib/libguile-srfi-srfi-1-v-3.so"] == 0 } \
- { ln -s ${prefix}/lib/libguile-srfi-srfi-1-v-3.dylib ${prefix}/lib/libguile-srfi-srfi-1-v-3.so }
-}
-
configure.args --with-ncsb-dir=${prefix}/share/fonts/urw-fonts \
--disable-documentation \
--disable-gui
+configure.env LTDL_LIBRARY_PATH=${prefix}/lib
+build.env LTDL_LIBRARY_PATH=${prefix}/lib
+
+destroot.env LTDL_LIBRARY_PATH=${prefix}/lib
+post-destroot {
+ move ${destroot}${prefix}/bin/lilypond \
+ ${destroot}${prefix}/libexec/lilypond-bin
+ xinstall -m 755 ${filespath}/lilypond.in ${destroot}${prefix}/bin/lilypond
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${destroot}${prefix}/bin/lilypond
+}
+
variant docs description {Build documentation files} {
configure.args-delete --disable-documentation
configure.args-append --enable-documentation
@@ -59,7 +57,7 @@
configure.args-append --enable-gui
}
-default_variants +docs -gui
+default_variants +docs
livecheck.check regex
livecheck.url [lindex ${master_sites} 0]
Added: trunk/dports/textproc/lilypond/files/lilypond.in
===================================================================
--- trunk/dports/textproc/lilypond/files/lilypond.in (rev 0)
+++ trunk/dports/textproc/lilypond/files/lilypond.in 2009-06-03 06:02:53 UTC (rev 51779)
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+GUILE_WARN_DEPRECATED="no"
+LTDL_LIBRARY_PATH="@@PREFIX@@/lib:${LTDL_LIBRARY_PATH}"
+export GUILE_WARN_DEPRECATED LTDL_LIBRARY_PATH
+
+exec @@PREFIX@@/libexec/lilypond-bin "$@"
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090602/b33835e6/attachment-0001.html>
More information about the macports-changes
mailing list