source: trunk/dports/www/sitemap_gen/Portfile @ 59142

Last change on this file since 59142 was 59142, checked in by blb@…, 10 years ago

www/sitemap_gen - switch to python 2.6, ticket #21736 (maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
RevLine 
[20492]1# $Id: Portfile 59142 2009-10-10 06:53:15Z blb@macports.org $
[14895]2
3PortSystem 1.0
[59142]4PortGroup python26 1.0
[14895]5name                    sitemap_gen
[15897]6version                 1.4
[58573]7categories              www python
[14895]8platforms               darwin
[50984]9maintainers             google.com:mstokely
[14895]10description             sitecopy website maintenance utility
11long_description The sitemap_gen.py script analyzes your web server \
12                and generates one or more Sitemap files. These files \
13                are XML listings of content you make available on your \
14                web server. The files can then be directly submitted \
15                to Google. \
16                Written by opensource@google.com.
17homepage                https://www.google.com/webmasters/sitemaps/docs/en/about.html
[59142]18master_sites    sourceforge:goog-sitemapgen
[15897]19checksums       md5 0cd37e1295631b5b1ac484cfac321297 \
20                sha1 693a041b0e7d9446766446291b2a80892399337c \
21                rmd160 b03442238c331f0f835d5e886de8094d3836bb33
[14895]22
23post-destroot {
24        xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
25        xinstall -m 0755 ${worksrcpath}/${name}.py ${destroot}${prefix}/bin/${name}
26        xinstall -m 0644 -W ${worksrcpath} COPYING README example_config.xml \
27                example_urllist.txt ${destroot}${prefix}/share/doc/${name}
[59142]28        reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.6|" \
29                ${destroot}${prefix}/bin/sitemap_gen
[14895]30}
Note: See TracBrowser for help on using the repository browser.