# $Id: Portfile 101920 2013-01-22 02:55:02Z jmr@macports.org $

PortSystem 1.0
PortGroup python 1.0

name			py-htmlcalendar
version			1.1.1
license			LGPL-2.1+
platforms		darwin
supported_archs	noarch
maintainers		nomaintainer
description		python module for creating calendars in HTML format
long_description	python module for creating calendars in HTML format. \
				HTMLCalendar generates one- and twelve-month calendars \
				in HTML format with optional links.

homepage		http://freespace.virgin.net/hamish.sanderson/htmlcalendar.html
master_sites	http://pypi.python.org/packages/source/H/HTMLCalendar/
distname		HTMLCalendar-${version}
checksums		md5     f6a1203b90d2d272eb37c48e7b020a98 \
				sha1    f1b5836f933bf5569912d555bd13923402bcf111 \
				rmd160  05a1fcf1a8f5385c7d7219b8c9905bdbdf459391

python.versions	24 25 26

if {$subport != $name} {
    depends_lib-append	port:py${python.version}-htmltemplate

    post-destroot	{
        xinstall -m 644 -W ${worksrcpath} License.txt Manual.txt README.txt \
            ${destroot}${prefix}/share/doc/${subport}
    }
}
