Revision
89649
Author
jmr@macports.org
Date
2012-02-05 13:35:57 -0800 (Sun, 05 Feb 2012)

Log Message

gcalcli: use correct python path (#28419)

Modified Paths

Diff

Modified: trunk/dports/office/gcalcli/Portfile (89648 => 89649)


--- trunk/dports/office/gcalcli/Portfile	2012-02-05 21:11:45 UTC (rev 89648)
+++ trunk/dports/office/gcalcli/Portfile	2012-02-05 21:35:57 UTC (rev 89649)
@@ -6,6 +6,7 @@
 
 name                gcalcli
 version             1.4
+revision            1
 categories          office python devel
 maintainers         nomaintainer
 description         Google Calendar Command Line Interface
@@ -19,7 +20,6 @@
 homepage            http://code.google.com/p/gcalcli
 master_sites        googlecode
 extract.suffix 	    .tgz
-use_configure 	    no
 checksums           md5     6f01ff01750e06083857347e2a5f11f8 \
                     sha1    65edd3b1a825a178746485ca5d8321a40c400794 \
                     rmd160  0b75d0e549c40b9d5130f6cf5a1186dee121778d
@@ -29,7 +29,7 @@
                     port:py26-dateutil
 
 post-patch {
-	reinplace "s|^#!/usr/bin/python|#!${prefix}/bin/python|" ${workpath}/gcalcli
+	reinplace "s|^#!/usr/bin/python|#!${prefix}/bin/python2.6|" ${workpath}/gcalcli
 }
 
 build {}
@@ -37,4 +37,3 @@
 destroot {
 	xinstall -m 755 ${workpath}/gcalcli ${destroot}${prefix}/bin/$name
 }
-