# $Id: Portfile 130836 2015-01-02 22:24:20Z larryv@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-timeformat version 1.0.0 revision 1 categories-append devel license BSD 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 supported_archs noarch homepage http://www.owlfish.com/software/TimeFormat/ master_sites ${homepage}downloads/ distname TimeFormat-${version} checksums md5 04f42919421c65a6f1c404dd522fabef python.versions 27 if {${name} ne ${subport}} { post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} eval file copy [glob ${worksrcpath}/documentation/html/*] \ ${destroot}${prefix}/share/doc/${subport} } }