# $Id: Portfile 102006 2013-01-24 10:32:44Z jmr@macports.org $

PortSystem 1.0
PortGroup python 1.0

name			py-fchksum
version			1.7.1
revision		1
license			GPL-2+
platforms		darwin
maintainers		nomaintainer
description		Python module to find the checksum of files
long_description	fchksum is a Python module to find the checksum of \
				files. Currently it supports md5, crc32, cksum, \
				bsd-style sum, and sysv-style sum.

homepage		http://code.fluffytapeworm.com/projects/
master_sites	${homepage}
distname		python-fchksum-${version}
checksums		md5 5a7fdec9b6a04ef6d17962df2a74284b

python.versions	24

if {$subport != $name} {
    depends_lib-append	port:zlib

    test.run		no
    test.cmd		${build.cmd}
    test.target		test

    post-destroot	{
        xinstall -m 644 -W ${worksrcpath} COPYING Changelog README \
            ${destroot}${prefix}/share/doc/${subport}
    }
}
