# $Id: Portfile 32256 2007-12-23 09:18:47Z ryandesign@macports.org $

PortSystem			1.0
PortGroup			python24 1.0
name				py-timeformat
version				1.0.0
revision			1
categories-append	devel
maintainers			nomaintainer
description			Flexible alternative to time.strftime
long_description \
	TimeFormat implements new time and date formatting codes that provide \
	more flexibility to time.strftime().  The implementation avoids using \
	the C library time.strftime() where possible, so ensuring the same \
	operation across most platforms.

platforms			darwin

homepage			http://www.owlfish.com/software/TimeFormat/
master_sites		${homepage}downloads/
distname			TimeFormat-${version}

checksums			md5 04f42919421c65a6f1c404dd522fabef

post-destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	eval file copy [glob ${worksrcpath}/documentation/html/*] \
		${destroot}${prefix}/share/doc/${name}
}

