[103575] trunk/dports/textproc/lilypond-devel/Portfile

snc at macports.org snc at macports.org
Fri Mar 1 12:28:00 PST 2013


Revision: 103575
          https://trac.macports.org/changeset/103575
Author:   snc at macports.org
Date:     2013-03-01 12:28:00 -0800 (Fri, 01 Mar 2013)
Log Message:
-----------
lilypond-devel: update to 2.17.13, ensure Python 2.7 is used by rigidly using MacPorts' Python 2.7

Modified Paths:
--------------
    trunk/dports/textproc/lilypond-devel/Portfile

Modified: trunk/dports/textproc/lilypond-devel/Portfile
===================================================================
--- trunk/dports/textproc/lilypond-devel/Portfile	2013-03-01 20:10:02 UTC (rev 103574)
+++ trunk/dports/textproc/lilypond-devel/Portfile	2013-03-01 20:28:00 UTC (rev 103575)
@@ -5,7 +5,7 @@
 
 name                lilypond-devel
 set my_name         lilypond
-version             2.17.10
+version             2.17.13
 set branch          [join [lrange [split ${version} .] 0 1] .]
 categories          textproc
 maintainers         snc openmaintainer
@@ -23,8 +23,8 @@
 master_sites        http://download.linuxaudio.org/lilypond/sources/v${branch}/
 distname            ${my_name}-${version}
 dist_subdir         ${name}/${version}_${revision}
-checksums           rmd160  462907e3fef31b8e9918e76cc677738b6d26e1b3 \
-                    sha256  16323f0a51a3ca72d6c26a358c49a98b82132480d5591f02f5c64b86c7119dc1
+checksums           rmd160  fc387cfa827f5e010fca979c8ff08619ddd48774 \
+                    sha256  17e2aa96ed638c4c53e6f5dc8e00df3d542ab16ab73a868adef3b896e3f9cda5
 
 
 depends_build       port:t1utils \
@@ -42,8 +42,10 @@
                     port:texlive-metapost \
                     port:dblatex \
                     port:urw-fonts
-depends_run-append  bin:python2.7:python27
+depends_run-append  port:python27
 
+configure.python    ${frameworks_dir}/Python.framework/Versions/2.7/bin/python2.7
+
 patchfiles          patch-scripts-build-mf2pt1.pl.diff
 post-patch {
     reinplace s|__vector|lily_vector|g ${worksrcpath}/flower/include/std-vector.hh
@@ -73,8 +75,8 @@
         scripts/build/pytt.py }
     
     foreach file ${files} {
-        reinplace {s|env python|env python2.7|} ${worksrcpath}/$file
-        reinplace s|/usr/bin/python|/usr/bin/env\ python2.7| ${worksrcpath}/$file
+        reinplace s|/usr/bin/env\\\ python|${configure.python}| ${worksrcpath}/$file
+        reinplace s|/usr/bin/python|${configure.python}| ${worksrcpath}/$file
     }
 }
 
@@ -84,10 +86,9 @@
 
 configure.args-append  --with-ncsb-dir=${prefix}/share/fonts/urw-fonts \
     --disable-documentation
-configure.env       LTDL_LIBRARY_PATH=${prefix}/lib
-post-configure {
-    reinplace s|bin/python|bin/python2.7|g ${worksrcpath}/config.make
-}
+configure.env       LTDL_LIBRARY_PATH=${prefix}/lib \
+                    PYTHON_CONFIG=${configure.python}-config
+configure.python    ${configure.python}
 
 build.env           LTDL_LIBRARY_PATH=${prefix}/lib
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130301/a1b2ef50/attachment.html>


More information about the macports-changes mailing list