# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem 1.0
PortGroup python24 1.0
name			sitemap_gen
version			1.4
categories-append	www
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@google.com.
homepage		https://www.google.com/webmasters/sitemaps/docs/en/about.html
set sourcepath  goog-sitemapgen
master_sites    sourceforge
master_sites.mirror_subdir ${sourcepath}
checksums	md5 0cd37e1295631b5b1ac484cfac321297 \
		sha1 693a041b0e7d9446766446291b2a80892399337c \
		rmd160 b03442238c331f0f835d5e886de8094d3836bb33

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}
}
