[59142] trunk/dports/www/sitemap_gen/Portfile

blb at macports.org blb at macports.org
Fri Oct 9 23:53:16 PDT 2009


Revision: 59142
          http://trac.macports.org/changeset/59142
Author:   blb at macports.org
Date:     2009-10-09 23:53:15 -0700 (Fri, 09 Oct 2009)
Log Message:
-----------
www/sitemap_gen - switch to python 2.6, ticket #21736 (maintainer timeout)

Modified Paths:
--------------
    trunk/dports/www/sitemap_gen/Portfile

Modified: trunk/dports/www/sitemap_gen/Portfile
===================================================================
--- trunk/dports/www/sitemap_gen/Portfile	2009-10-10 06:50:22 UTC (rev 59141)
+++ trunk/dports/www/sitemap_gen/Portfile	2009-10-10 06:53:15 UTC (rev 59142)
@@ -1,7 +1,7 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python26 1.0
 name			sitemap_gen
 version			1.4
 categories		www python
@@ -15,9 +15,7 @@
 		to Google. \
 		Written by opensource at google.com.
 homepage		https://www.google.com/webmasters/sitemaps/docs/en/about.html
-set sourcepath  goog-sitemapgen
-master_sites    sourceforge
-master_sites.mirror_subdir ${sourcepath}
+master_sites    sourceforge:goog-sitemapgen
 checksums	md5 0cd37e1295631b5b1ac484cfac321297 \
 		sha1 693a041b0e7d9446766446291b2a80892399337c \
 		rmd160 b03442238c331f0f835d5e886de8094d3836bb33
@@ -27,4 +25,6 @@
 	xinstall -m 0755 ${worksrcpath}/${name}.py ${destroot}${prefix}/bin/${name}
 	xinstall -m 0644 -W ${worksrcpath} COPYING README example_config.xml \
 		example_urllist.txt ${destroot}${prefix}/share/doc/${name}
+	reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.6|" \
+		${destroot}${prefix}/bin/sitemap_gen
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091009/23d66b42/attachment.html>


More information about the macports-changes mailing list