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

Last change on this file since 87969 was 87969, checked in by and.damore@…, 8 years ago

port sitemap_gen: updated to 1.5, added license, added patch from upstream's issue tracker, changed homepage. Closing ticket #31273, maintainer timeout

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[20492]1# $Id: Portfile 87969 2011-12-14 21:01:03Z and.damore@macports.org $
[14895]2
[87969]3PortSystem          1.0
4PortGroup           python26 1.0
5name                sitemap_gen
6version             1.5
7license             BSD
8categories          www python
9platforms           darwin
10maintainers         google.com:mstokely
11description         sitecopy website maintenance utility
12long_description    The sitemap_gen.py script analyzes your web server \
13                    and generates one or more Sitemap files. These files \
14                    are XML listings of content you make available on your \
15                    web server. The files can then be directly submitted \
16                    to Google.
[14895]17
[87969]18homepage            http://code.google.com/p/sitemap-generators/
19master_sites        googlecode:sitemap-generators
20distname            ${name}_${version}
21checksums           md5     98754e802722c0cc2ffcc8aedead67b6 \
22                    sha1    37126d3cb484ae28a6c7ff1ba8b2c96d2d79d1e8 \
23                    rmd160  3b781f8cfc8618263bb852ef58836e4ef1527ea5
24
25extract.mkdir       yes
26patchfiles          patch-sitemap_gen_py.diff
[14895]27post-destroot {
[87969]28    xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
29    xinstall -d -m 0755 ${destroot}${prefix}/share/examples/${name}
30    xinstall -m 0644 -W ${worksrcpath} \
31        AUTHORS ChangeLog COPYING README \
32        ${destroot}${prefix}/share/doc/${name}
33    xinstall -m 0644 -W ${worksrcpath} \
34        example_config.xml example_urllist.txt \
35        ${destroot}${prefix}/share/examples/${name}
36
37    xinstall -m 0755 ${worksrcpath}/${name}.py ${destroot}${prefix}/bin/${name}
38    reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.6|" \
39        ${destroot}${prefix}/bin/sitemap_gen
[14895]40}
Note: See TracBrowser for help on using the repository browser.