[66592] trunk/dports/devel/diffuse/Portfile

tommyd at macports.org tommyd at macports.org
Sat Apr 17 15:16:01 PDT 2010


Revision: 66592
          http://trac.macports.org/changeset/66592
Author:   tommyd at macports.org
Date:     2010-04-17 15:15:54 -0700 (Sat, 17 Apr 2010)
Log Message:
-----------
* force the usage of python2.4 everywhere for now

Modified Paths:
--------------
    trunk/dports/devel/diffuse/Portfile

Modified: trunk/dports/devel/diffuse/Portfile
===================================================================
--- trunk/dports/devel/diffuse/Portfile	2010-04-17 21:54:47 UTC (rev 66591)
+++ trunk/dports/devel/diffuse/Portfile	2010-04-17 22:15:54 UTC (rev 66592)
@@ -4,6 +4,7 @@
 
 name                diffuse
 version             0.4.3
+revision            1
 categories          devel
 platforms           darwin
 maintainers         tommyd openmaintainer
@@ -26,14 +27,15 @@
 use_configure       no
 
 post-patch {
-    reinplace "s|/usr/bin/env python|${prefix}/bin/python|g" \
+    reinplace "s|/usr/bin/env python|${prefix}/bin/python2.4|g" \
         ${worksrcpath}/src/usr/bin/diffuse
 }
 
 build {}
 
 destroot {
-    system "cd ${worksrcpath} && ./install.py \
+    system "cd ${worksrcpath} && ${prefix}/bin/python2.4 \
+       ./install.py \
        --prefix=${prefix} \
        --destdir=${destroot} \
        --sysconfdir=${prefix}/etc"              
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100417/158006bd/attachment.html>


More information about the macports-changes mailing list