Ignore:
Timestamp:
Dec 14, 2011, 9:01:03 PM (8 years ago)
Author:
and.damore@…
Message:

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

Location:
trunk/dports/www/sitemap_gen
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/sitemap_gen/Portfile

    r59142 r87969  
    11# $Id$
    22
    3 PortSystem 1.0
    4 PortGroup python26 1.0
    5 name                    sitemap_gen
    6 version                 1.4
    7 categories              www python
    8 platforms               darwin
    9 maintainers             google.com:mstokely
    10 description             sitecopy website maintenance utility
    11 long_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.
    17 homepage                https://www.google.com/webmasters/sitemaps/docs/en/about.html
    18 master_sites    sourceforge:goog-sitemapgen
    19 checksums       md5 0cd37e1295631b5b1ac484cfac321297 \
    20                 sha1 693a041b0e7d9446766446291b2a80892399337c \
    21                 rmd160 b03442238c331f0f835d5e886de8094d3836bb33
     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.
    2217
     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
    2327post-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}
    28         reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.6|" \
    29                 ${destroot}${prefix}/bin/sitemap_gen
     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
    3040}
Note: See TracChangeset for help on using the changeset viewer.