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

PortSystem 1.0
PortGroup python 1.0

name			py-otp
version			1.0
revision		2
categories-append	security
license			GPL
platforms		darwin
supported_archs	noarch
maintainers		nomaintainer
description		RFC2289 implementation for python (one-time password)
long_description	python-otp is a module which implements support for \
				all requirements, recommendations, and optional \
				features described in RFC2289. This RFC defines a \
				standard for the implementation of OTP - one-time \
				passwords.

homepage		http://labix.org/python-otp/
master_sites	http://labix.org/download/python-otp/
distname		python-otp-${version}
checksums		md5 351380746f9eaa624221e6037736c618 \
			sha1 abb0c92b790fa4a32c126142aa8a1a9ecfbb5c52

python.versions	24

if {$subport != $name} {
    post-destroot	{
        xinstall -m 0444 -W ${worksrcpath} README rfc2289.txt \
            ${destroot}${prefix}/share/doc/${subport}
    }
}
