[87969] trunk/dports/www/sitemap_gen

Ryan Schmidt ryandesign at macports.org
Wed Dec 14 22:27:54 PST 2011


On Dec 14, 2011, at 15:01, and.damore at macports.org wrote:

> Revision: 87969
>          http://trac.macports.org/changeset/87969
> Author:   and.damore at macports.org
> Date:     2011-12-14 13:01:03 -0800 (Wed, 14 Dec 2011)
> Log Message:
> -----------
> port sitemap_gen: updated to 1.5, added license, added patch from upstream's issue tracker, changed homepage. Closing ticket #31273, maintainer timeout

Please do whitespace changes separately from functional changes.


> 
> Modified Paths:
> --------------
>    trunk/dports/www/sitemap_gen/Portfile
> 
> Added Paths:
> -----------
>    trunk/dports/www/sitemap_gen/files/
>    trunk/dports/www/sitemap_gen/files/patch-sitemap_gen_py.diff
> 
> Modified: trunk/dports/www/sitemap_gen/Portfile
> ===================================================================
> --- trunk/dports/www/sitemap_gen/Portfile	2011-12-14 20:00:41 UTC (rev 87968)
> +++ trunk/dports/www/sitemap_gen/Portfile	2011-12-14 21:01:03 UTC (rev 87969)
> @@ -1,30 +1,40 @@
> # $Id$
> 
> -PortSystem 1.0
> -PortGroup python26 1.0
> -name			sitemap_gen
> -version			1.4
> -categories		www python
> -platforms		darwin
> -maintainers		google.com:mstokely
> -description		sitecopy website maintenance utility
> -long_description The sitemap_gen.py script analyzes your web server \
> -		and generates one or more Sitemap files. These files \
> -		are XML listings of content you make available on your \
> -		web server. The files can then be directly submitted \
> -		to Google. \
> -		Written by opensource at google.com.
> -homepage		https://www.google.com/webmasters/sitemaps/docs/en/about.html
> -master_sites    sourceforge:goog-sitemapgen
> -checksums	md5 0cd37e1295631b5b1ac484cfac321297 \
> -		sha1 693a041b0e7d9446766446291b2a80892399337c \
> -		rmd160 b03442238c331f0f835d5e886de8094d3836bb33
> +PortSystem          1.0
> +PortGroup           python26 1.0
> +name                sitemap_gen
> +version             1.5
> +license             BSD
> +categories          www python
> +platforms           darwin
> +maintainers         google.com:mstokely
> +description         sitecopy website maintenance utility
> +long_description    The sitemap_gen.py script analyzes your web server \
> +                    and generates one or more Sitemap files. These files \
> +                    are XML listings of content you make available on your \
> +                    web server. The files can then be directly submitted \
> +                    to Google.
> 
> +homepage            http://code.google.com/p/sitemap-generators/
> +master_sites        googlecode:sitemap-generators
> +distname            ${name}_${version}
> +checksums           md5     98754e802722c0cc2ffcc8aedead67b6 \
> +                    sha1    37126d3cb484ae28a6c7ff1ba8b2c96d2d79d1e8 \
> +                    rmd160  3b781f8cfc8618263bb852ef58836e4ef1527ea5
> +
> +extract.mkdir       yes
> +patchfiles          patch-sitemap_gen_py.diff
> post-destroot {
> -	xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
> -	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
> +    xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
> +    xinstall -d -m 0755 ${destroot}${prefix}/share/examples/${name}
> +    xinstall -m 0644 -W ${worksrcpath} \
> +        AUTHORS ChangeLog COPYING README \
> +        ${destroot}${prefix}/share/doc/${name}
> +    xinstall -m 0644 -W ${worksrcpath} \
> +        example_config.xml example_urllist.txt \
> +        ${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|" \
> +        ${destroot}${prefix}/bin/sitemap_gen
> }






More information about the macports-dev mailing list