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

jmr at macports.org jmr at macports.org
Tue Sep 30 04:36:38 PDT 2014


Revision: 125959
          https://trac.macports.org/changeset/125959
Author:   jmr at macports.org
Date:     2014-09-30 04:36:38 -0700 (Tue, 30 Sep 2014)
Log Message:
-----------
sitemap_gen: use unified python portgroup

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

Modified: trunk/dports/www/sitemap_gen/Portfile
===================================================================
--- trunk/dports/www/sitemap_gen/Portfile	2014-09-30 11:34:31 UTC (rev 125958)
+++ trunk/dports/www/sitemap_gen/Portfile	2014-09-30 11:36:38 UTC (rev 125959)
@@ -1,12 +1,14 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
+
 name                sitemap_gen
 version             1.5
 license             BSD
 categories          www python
 platforms           darwin
+supported_archs     noarch
 maintainers         google.com:mstokely
 description         sitecopy website maintenance utility
 long_description    The sitemap_gen.py script analyzes your web server \
@@ -23,6 +25,9 @@
                     rmd160  3b781f8cfc8618263bb852ef58836e4ef1527ea5
 
 extract.mkdir       yes
+
+python.default_version  26
+
 patchfiles          patch-sitemap_gen_py.diff
 post-destroot {
     xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
@@ -35,6 +40,6 @@
         ${destroot}${prefix}/share/examples/${name}
 
     xinstall -m 0755 ${worksrcpath}/${name}.py ${destroot}${prefix}/bin/${name}
-    reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.6|" \
+    reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python${python.branch}|" \
         ${destroot}${prefix}/bin/sitemap_gen
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140930/2d49b9e0/attachment.html>


More information about the macports-changes mailing list