# $Id: Portfile 102584 2013-02-05 04:25:13Z larryv@macports.org $

PortSystem 1.0
PortGroup python 1.0

name			py-fcrypt
version			1.3.1
revision		1
categories-append	sysutils
license			MIT SSLeay
platforms		darwin
supported_archs	noarch
maintainers		nomaintainer
description		python implementation of the Unix DES password crypt function
long_description	A pure Python implementation of the Unix DES password \
				crypt function, based on Eric Young's fcrypt.c. It \
				works with any version of Python from version 1.5 or \
				higher, and because it's pure Python it doesn't need a \
				C compiler to install it.

homepage		http://home.clear.net.nz/pages/c.evans/sw/#python-fcrypt
master_sites	http://home.clear.net.nz/pages/c.evans/sw/
distname		fcrypt-${version}
checksums		md5 41da4b31b45e753183b799b7091b5e92

python.versions	24

if {$subport != $name} {
    post-destroot	{
        xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE README \
            ${destroot}${prefix}/share/doc/${subport}
    }
}
